Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Do you? Should I? Re: Do you? Should I?

#50609
soap
Participant

One thing I always do is separate my css by Defaults, Classes, and IDs. I then arrange everything alphabetically in their corresponding sections.
Then I use a hierarchy system like so:

Code:
.item {
style:whatever;
}
.item ul {
style:whatever;
}
.item ul a {
style:whatever;
}

I use huge fat comments above the sections of Classes and IDs like, /********************* CLASS *************************/

This makes things pretty easy to find for me.