Ask HN: Anyone have a really smart way to organize css? 15 years ago
Never use IDs? Why? i'm open to this if you have a good argument but i use IDs for unique elements only.
HN user
Never use IDs? Why? i'm open to this if you have a good argument but i use IDs for unique elements only.
not really sure every way suits all but if it's kept as clean as possible & organised it's always best.
Personaly i keep everything to do with each area to gether ie. Header, footer, I wouldn't seperate out the <h> &
tags & place all the
's together.
if i'm working on a large site i tend to seperate out the css by section home, Base template (about for example), contact, blog, news, shop...