Use a Table of Contents in your CSS file for an overview
To help collaboration with other people that want to modify your CSS it can be helpful to create a Table of Contents so people can quickly understand the structure of your CSS and find what they need.
/* Table of Contents
- - - - - - - - -
Header & Branding
Forms
Footer
- - - - - - - - -
*/
...
/* Header & Branding */
...
/* Forms*/
The headings in the TOC should be perfectly equal to headings you write later. It's a pain to search for headings
Written by Scott Hardman
Related protips
1 Response
That'd be cool Sublime has one package of this style.
over 1 year ago
·
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Css
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#