4 ms·
I've never been a big fan of the "throw in a bunch of classes" approach to CSS frameworks (e.g. this, Blueprint, etc). I prefer Compass' mix-in approach instead
by jarin 16y ago
I've never been a big fan of the "throw in a bunch of classes" approach to CSS frameworks (e.g. this, Blueprint, etc). I prefer Compass' mix-in approach instead, since it maintains the separation between content and presentation.
Instead of this:
<div class="span-12 loud last"></div>
You do something more like this in your SCSS:
.mydiv {
@import column(12, true);
@import loud;
}
- deleted 16y ago[deleted]
- bartl 16y agoAt first I had no idea what you're talking about, but then I accidentally stumbled across the link to Sass (http://sass-lang.com/ http://sass-lang.com/). This is what you're talking about, right?