|
|
|
|
|
by uggedal
5959 days ago
|
|
The tip about indenting your CSS based on the hierarchy of the DOM it styles is key. I've done this for a few years now and it makes coming back to a stylesheet to make some changes a lot easier. Another tip I've found useful: sort your properties alphabetically within a selector. |
|
my tip: use a decent IDE, like Aptana. it'll outline the stylesheet and make definitions searchable and orderable. use whatever order you find most logical for definitions and properties.
the TOC and commenting is probably useful for other members on your team, though.