Responsive Web Design with Sass+Compass
Mobile matters. There are more than 4x the number mobile devices activated each day than there are babies born and the question of how to effectively deliver your content to everyone, regardless of how they get there, should be the most important question for product owners and developers today. Enter responsive design.
Responsive design comes from the idea that there is not a mobile web and a desktop web but instead a single, unified web. The most obvious new design paradigm to come from this new thinking are websites that are not built on a fixed width grid but rather one that expands and contracts depending on how much screen real estate is available to the current user. To be able to do this, however, you want a powerful set of tools at your disposal in order to aid in you in the large amount of work needed to build a responsive design. Enter Sass+Compass
Sass 3.2 introduces a number of new features designed specifically to aid in responsive design including the ability to modularize your media queries and call them on-demand or to write media queries based on calculations in your Sass files. Compass v0.12 improves upon Compass's already impecable mixin and function libraries with a large update to Compass's Image Sprite functionality, a traditionally hard technique made drop-dead easy and essential to the Mobile First Responsive Design philosophy that should be taken when designing websites.
Compass also allows us to tap into all a community of extensions to make your lives easier, including some that are specifically designed to help us with the hard parts of Responsive Web Design. There are Susy and Singularity for semantic, responsive, custom fluid grids, Breakpoint and Respond-to for managing of your media queries, and Toolkit to provide responsive and progressive enhancement tools as well as helpers to get you up and running with a responsive web design stack quickly.
Comments
dasjo replied on Permalink
Snugug's really up-to-date and an active contributor when it comes to modern frontend development techniques with Drupal. Definitely a session, worth checking out!
alanmoo replied on Permalink
I've talked to Snugug at various meetups in NYC (that he's organized) and he really knows his stuff. I'd definitely like to hear more about how he uses various tools in more detail.