Skip to content

Instantly share code, notes, and snippets.

@ethanmuller ethanmuller/_sb-media.scss Secret
Last active Dec 17, 2015

Embed
What would you like to do?
$no-mq-support: false !default;
$serve-to-nomq-max-width: 60em;
@mixin sb-media($query) {
@if $no-mq-support{
@if $query < $serve-to-nomq-max-width {
@content;
}
} @else {
@media ( 'min-width:' + $query ) {
@content;
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.