Combine matching media queries with Grunt.js | Responsive Web Design

Combine matching media queries with Grunt.js

One of the issues with preprocessing with media queries is the repeating of media queries throughout the final CSS file. While this isn’t really a problem because GZIP eats up all that extra kb, the guys from Building Blocks have created a Grunt task to collate all the queries together.

One of the issues with preprocessing with media queries is the repeating of media queries throughout the final CSS file. While this isn’t really a problem because GZIP eats up all that extra kb, the guys from Building Blocks have created a Grunt task to collate all the queries together.

An excerpt from Combine matching media queries with Grunt.js

View original article

Subscribe to our Newsletter

Add your email address and receive an email every Friday covering off everything worth knowing about building your websites responsively.