Is your CSS easy for another person to deal with? If they want to add a new element to the design, would they find it easy to build on your work, or would they have to create brand new class or ID declarations for each addition?

I’m sure we can all agree that none of these outcomes are much fun, and the less painful it is to deal with someone else’s CSS, the better. So let’s see how Object Oriented CSS have benefits on your project.

Object Oriented CSS isn’t really a framework … but a way of writing scalable, sane, maintainable CSS.Object Oriented CSS (OOCSS) is making a mental shift towards easy maintenance and reuse of your styles, even if it means writing extra HTML markup.

Object Oriented CSS methodologies help you to look beyond your immediate design goals and organize your code so that adding new site content that reuses the same styles in the future becomes trivial. With OOCSS, adding a new type of page to your site should mean that there’s no need to create additional CSS styles or selectors. New page types should be able to reuse existing CSS styles as much as possible. Continue reading

Advertisements