I've been exploring the tools and techniques to implement responsive design.
I like the responsive mobile 1st approach that 320 & up does, it says it uses html5 boilerplate.
For overall editing, control and features Compass/Sass seem to have a lot to offer.
(HTML5 is not required to have responsive design.)
Each of these stylesheet technologies builds on the other. They all "compile" down into CSS.
SASS is the important part. Learn the basics and start playing with the others.
html5boilerplate: It is a cross-browser compliant stylesheet. It's a great starting point for CSS. As of 2.0, it uses normalize instead of reset.
CSS: Clarke's 320 & up is a fine approach for mobile browsers that recognize media queries. Skeleton is another good one, if you use grid systems for site layout. These are both straight CSS base files, like boilerplate plus grids & media queries.
SASS: If you want to write CSS faster and with less repetition, then an abstraction tool like SASS will help you. It processes SASS syntax to generate CSS. Highlights include: variables, custom functions (mixins), converting existing .css, .less, .sass, .scss files into .sass or .scss formats.
Compass: Compass is more of a collection of SASS mixins and includes than a "framework." Eventually you will not like (re)creating your own SASS mixins. Compass has already solved many problems, and you can use their solutions as mixins, and pre-made "CSS modules" that you can import.
Susy: Susy is a percentage-based grid system written in SASS that uses some Compass features.
If I want to see how a particular problem was solved, I will look at Compass and see if they have already done that. I find that there is some overhead with Compass, so I don't use it often.
I personally use my own customized version of 320 & up authored in SASS, where I break-out each part into it's own include file: colors, fonts, forms, grids, headings, links, mixins, modernizr, tables, typography, vendors, 320, 480, ..., etc. It keeps things nice and organized, and it compiles down into one 'syles.css' file that is then minified.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With