This document discusses how to write maintainable CSS through organizing CSS files according to a design language's components (e.g. layout, color), authoring semantic and portable CSS code using classes and IDs, and documenting CSS code and conventions either through inline comments or generated documentation from comment tags. It emphasizes organizing CSS files by concern rather than by site section, separating IE conditional code into separate files, using a system for declaration order and formatting for readability, and having an effective text editor for working with CSS code.
27. Framework classes are
often meaningless outside
the context of the
framework.
This demands knowledge of the specific framework,
which decreases maintainability.
28. The Rule of Portable Meaning
ids identify
classes classify
30. Marking up a web designer
<li class=quot;designerquot; >Andy Clarke</li>
31. Marking up a web designer
<li class=quot;designerquot; id=quot;andyquot;>Andy Clarke</li>
32. Marking up a web designer
<li class=quot;designerquot; id=quot;andyquot;>Andy Clarke</li>
This list item has portable meaning.
Microformats have portable meaning.