Architecting CSS

Garrett Dimon’s article Architecting CSS contains some useful guidelines for organising CSS. It can be really tricky to keep track of what every CSS rule does when a site grows large or a design becomes complex, so tips like these are good.

After spending too much time trying to figure out what does what when going back to make a few simple changes to an old site, I’ve become motivated to improve in this area. Tidy my CSS files are not. At least not as tidy and structured as they could (and should) be.

Posted on August 23, 2005 in CSS, Quicklinks

Comments

  1. Yeah, I read that article about a week ago. I got some good information from it, and am using some of the suggested techniques while working on a new design for my website.

    One massive file gets really tedious when trying to find something in particular, so I’ve started from scratch several component stylesheets…one for forms, one for layout, one for colours/typography…That makes work easier, as I now have a better idea of where a particular rule would be located.

Comments are disabled for this post (read why), but if you have spotted an error or have additional info that you think should be in this post, feel free to contact me.