Skip to Main Content
Bridging UX and Web Development
book

Bridging UX and Web Development

by Jack Moffett
June 2014
Intermediate to advanced content levelIntermediate to advanced
224 pages
5h 19m
English
Morgan Kaufmann
Content preview from Bridging UX and Web Development
Chapter 7

OOCSS

Object Oriented CSS is a best practice for structuring CSS and utilizing it within HTML. It is optimized for reuse, allowing designers to build components that can be dropped into a webpage with little or no modification. It keeps code clean and maintainable, and it reduces inadvertent inheritance.

Keywords

object oriented; CSS; OOCSS; rules; sprites; principles; structure; skin; container; content; reuse; component

What is the greatest benefit of using Cascading Style Sheets (CSS)? Let me rephrase that. What should be the greatest benefit of using CSS? There are many benefits, to be sure, but the fundamental purpose of CSS is reuse. We separate the physical characteristics from an object and give them a name. Then we use that name ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Collaborative Web Development

Collaborative Web Development

Adam D. Scott
Communicating the UX Vision

Communicating the UX Vision

Martina Schell, James O'Brien
Front-end Performance

Front-end Performance

Bruno Skvorc, Craig Buckler, Maria Antonietta Perna, Ivan Curic

Publisher Resources

ISBN: 9780124202450