Object Oriented CSS for rapid, scalable and maintainable development
by Graeme Blackwood, Creative Lead at Deeson Online on Apr 23, 2012
- 4,943 views
Most frontend developers have already heard of Object Oriented CSS, yet it is still sorely under-practiced. ...
Most frontend developers have already heard of Object Oriented CSS, yet it is still sorely under-practiced.
Do your CSS files have overrides and !importants scattered through them? Do they often come in at 3000 lines+ for a regular site?
Tied with good semantic HTML, the Object Oriented CSS approach really is the answer to rapid, lightweight, scalable and easy to maintain frontend code. OOCSS will speed up any front end build, but really comes into its own on bigger sites.
I will talk through my approach to frontend builds and show how OOCSS makes the process so much easier.
I'll also talk a bit about CSS compilers and how it is important to have a good understanding of OOCSS methods before jumping into SASS or LESS. Poor CSS practice isn't going to be rescued by a compiler; in fact it can even compound problems by bringing in another layer to debug.
I hope to instill a real understanding of what OOCSS means, why it REALLY matters, and how it's going to make you a better front end developer!
Presented at Frontend United – http://frontendunited.org
- Total Views
- Views on SlideShare
- Embed Views