Skip to content

Instantly share code, notes, and snippets.

View taupecat's full-sized avatar

Tracy Rotton taupecat

View GitHub Profile
@taupecat
taupecat / sass-modernizr.scss
Last active October 12, 2015 21:38
Use Sass to compensate for deficiencies detected by Modernizr.js
// For example, use "no-cssanimations" for a browser that lacks CSS3 animation support
@mixin modernizr($test) {
html.#{$test} & {
@content;
}
}