In early 2006, I added drop shadows to all the pictures here at ongoing; to do it I had to construct a 500-line Java program. At the time I remarked that CSS should just support drop shadows, and now it does. Here’s how it looks:
More or less exactly the same as my hand-constructed shadows, near as I can tell. So as of today, the whole site’s a little lighter and faster and smarter. My thanks to the CSS designers and browser builders.
Oh, how’s it done? Like this:
box-shadow: 3px 3px 8px #222;
If your browser’s builders screwed up and aren’t doing my drop shadows right, please complain to them.