April 15, 2008
CSS Gradients
Yay, a future without alpha-PNG’s masquerading as gradients (or having to create an SVG for a simple white fade).
Webkit’s latest wonder-feature for designers (in addition to the font rendering I love, rel positioned generated content, text & box shadows, hsla/rgba support and multiple backgrounds) is vendor-prefixed support for CSS Gradients. I’m encouraged knowing that Hyatt is on the CSSWG with a bunch of interesting specs proposed already.
Of course the normal warning for an incomplete/vendor-prefixed feature applies: don’t use it in a production environment since the spec will change during standardisation. It’s unfortunate, but even the well-known CSS3 features like border-radius (rounded corners) aren’t nailed down yet.