Chapter 8

Owning Behavior

Through smart application of styles, CSS can greatly reduce the complexity of JavaScript in a page, resulting in better performance and maintainability. It puts more behavior under the designer’s control.

Keywords

JavaScript; class; state; identity; CSS; HTML; OOCSS

In Chapter 7, I gave you the first two principles of OOCSS—the principles that were originally espoused by Nicole Sullivan:

ent Separate structure and skin.

ent Separate container and content.

Brian Cavalier and John Hann introduced a third principle in their presentation ...

Get Bridging UX and Web Development now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.