Last active
October 12, 2015 21:38
-
-
Save taupecat/4090271 to your computer and use it in GitHub Desktop.
Use Sass to compensate for deficiencies detected by Modernizr.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// For example, use "no-cssanimations" for a browser that lacks CSS3 animation support | |
@mixin modernizr($test) { | |
html.#{$test} & { | |
@content; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Usage:
Compiles to: