3 ms·
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 pa
by monisninja 16y ago
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