Feature Enabled Mixins for Sass

It’s not uncommon to have some CSS that is for certain browser capabilities (JavaScript, animation, etc). By combining a feature detect solution like Modernizr (which sets classes on the html element) with some basic Sass mixins we can make the SCSS more readable. Here is a (contrived) example. See the Pen OPGWdr by Matt Vanderpol […]