News for hackers. Stuff that matters.
Re:OOCSS + Sass = The best way to CSS by ville on Tuesday October 16, 2012 @04:33PM (#4661687)
This is what I was thinking as well. Apparently in SASS they only had mixins that work like classes and are included in the output and now the new "placeholders" act like .mixin () {} in LESS.

The example also combines hr {/* style /} .separator {/ style /} into one selector hr, .separator {/ style */}

but maybe that is something a CSS minifier should be able to do?

Re:OOCSS + Sass = The best way to CSS by ianstormtaylor on Tuesday October 16, 2012 @04:45PM (#4661735)
No, SASS had @mixins and @extend. And now it has @extend with %placeholders, which is the least bloaty solution of them all. Lots of the use cases mixins are touted as solving are actually much better solved by @extend'ing %placeholders.