CSS3 Gradients

Something neat I learned from the Twitter Bootstrap framework.

What’s neat about it is that it’s actually a generated background image that fits the element container. That means you can manipulate it for :hover and :active states by shifting the background position up.

Of course, this gets nowhere near the level of detail like in Jaco Joubert’s CSS3 buttons tutorial, but I think it’s still really neat how the browser programmers handled this.