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.


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 O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.