Home › Forums › CSS › Do you? Should I? › Re: Do you? Should I?
October 16, 2008 at 2:20 pm
#50609
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;
}
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.