How To De-Asshole-ify Links
Code: , , , , ,
Comments Off on How To De-Asshole-ify Links

I loathe sites that set unvisited and visited links to be the same color. There are exactly two reasons that sites do this:

Continue this post

Tidy Stylesheets in Rails
Code: , , , ,
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.

Continue this post