Cutting the Mustard with CSS Media Queries

Cutting the Mustard using Media Queries instead of Javascript, making detection faster. These detected features are then passed on to Javascript.

https://www.sitepoint.com/cutting-the-mustard-with-css-media-queries/