push.cx Peter Bhat Harkins
Tidy Stylesheets in Rails
Code: css, design, maintainability, Rails, Ruby
Comments Off on Tidy Stylesheets in Rails
It’s very easy for a site’s CSS to grow a single giant, brittle stylesheet. It becomes impossible to change anything because of bizarre interactions between elements, unexpected interactions, and simply because it’s just too big for anyone to understand. Much of programming is managing complexity, and I’ll share a nice technique in that vein.