News for hackers. Stuff that matters.
Re:Object Oriented CSS by jarin on Thursday February 10, 2011 @02:26AM (#2201157)
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;
  }

There are no comments on this comment yet.