Using Object-Oriented CSS with SASS (thesassway.com)
almost 9 years ago from Catalin Cimpanu
almost 9 years ago from Catalin Cimpanu
Ugh. Seeing this makes me want to puke every time I see my sass.
+1 It makes me want to refactor all the code I ever produced.
I switched to SASS a few months ago and I am still having trouble sometimes with choosing between extends and includes, any thoughts/best practice ?
But of course, you don't have to use it. You can stick with regular OOCSS if you don't mind non-semantic HTML code.
If you don't use SASS apparently your HTML is not semantic? lol
Seriously. That's not what those words mean.
The problem with extends is if there's more than one modifier it results in duplication.
Designer News
Where the design community meets.
Designer News is a large, global community of people working or interested in design and technology.
Have feedback?
Login to Comment
You'll need to log in before you can leave a comment.
LoginRegister Today
New accounts can leave comments immediately, and gain full permissions after one week.
Register now