What's Wrong With CSS

Some of this has already been said, but…

There are a few things people regularly overlook about CSS:

  1. Multiple selectors can have attributes assigned to them in the same block.
  2. To go along with 1, selectors can have attributes assigned in multiple locations in the same (or different) stylesheet files.
  3. HTML elements can have more than one class. I’ll repeat this, as this is often misunderstood. HTML elements can have more than one class. class=“there are four classes” is a class attribute with 4 different, space-separated classes. Attributes assigned to those four classes will be applied to the element with that class attribute.