News for hackers. Stuff that matters.
Re:Decouple Your CSS From HTML With Reusable Modules by mrxd on Tuesday December 04, 2012 @02:09PM (#4872664)
The placeholder selectors in SASS 3.2 are really cool, almost like creating a private keyword for CSS.

But I would never use semantic class names, that just seems like a huge waste of time. If I'm building a page, I shouldn't have to touch a SASS file unless I'm actually creating new styles.

Technically speaking, a class name should never be something like "download-whitepaper" - IDs are used to uniquely identify things, not classes.

Re:Decouple Your CSS From HTML With Reusable Modules by drublic on Tuesday December 04, 2012 @06:48PM (#4874037)
That is a valid argument. I just don't like to deal with IDs in CSS. I love classes. And applying styles according to an semantic class name decouples your HTML from the CSS - that is what the article is all about.