top | item 2905204

(no title)

Adkron | 14 years ago

Classes and ids should describe the data that you are marking up, and not the structure of the view. It is really hard to continue to work with something like this. It increases the number of classes on each element and causes the developer and designer to fight over which classes go where. Now we have separate classes for style and functionality.

If we describe the data then it is easy to describe the view of that data in different ways, and with the same html.

discuss

order

jacobr|14 years ago

Yes. An interesting approach would be to use mixins instead, like an expanded version of Compass.