Skip to content

Instantly share code, notes, and snippets.

@fubhy
Created July 21, 2015 13:08
Show Gist options
  • Save fubhy/8a8217cca6d6bad810fa to your computer and use it in GitHub Desktop.
Save fubhy/8a8217cca6d6bad810fa to your computer and use it in GitHub Desktop.
Generated by SassMeister.com.
// ----
// libsass (v3.2.5)
// ----
$rendering-for-ie: true !default;
@mixin media($media-query, $render-for-ie: true) {
@if $rendering-for-ie == false {
@media (#{$media-query}) {
@content;
}
}
@else if $render-for-ie == true and $rendering-for-ie == true {
@content;
}
}
@include media('min-width: 500px', false) {
.foo {
color: black;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment