Better HN
topnewbestaskshowjobs
Log inSign up

monisninja

1 karma · joined Mar 28, 2011 (15y ago) · 1 submissions

Submissions

comment 15y ago · link · parent

here's a simple way I organizate my CSS:

1. reset.css 2. global.css - reusable classes and styles for common selectors (html, body, a, etc) 3. css named per page (or type of a page) - ex. home.css / about.css / results.css / static.css

* I usually add a class / id to the body and use that as my first selector on the page-level css. This allows me to combine all + minify for production