colinramsay.co.uk

CSS Organisation

16 May 2005

Inspired by Mr. Bowman and <a href=http://joshuaink.com/blog/287/css-flags-and-find-using-selection">Mr. Oxton</a>, I've started organising my CSS in a slightly more sensible manner. I now label sections as Doug does, and at the top of the file just have:

/*
HEADER:
=Tagline
=Navigation
=Header
etc, etc
*/

By selecting "=Header" and hitting CTRL F3 in Editplus I skip to the right set of rules. It's like a contents page for my CSS!

Feedback or questions on this post? Create an issue on GitHub.