CSS Masks – How To Use Masking In CSS Now

CSS masks were added to the WebKit engine by Apple quite a while ago, namely back in April 2008. Masks offer the ability to control the opacity/transparency of elements on a per-pixel basis, similar to how the alpha/transparency-channel of "24-bit"-PNGs or 32-bit-TIFFs work.

I had no idea that CSS could do this - and pretty amazing it's been doable in WebKit since 2008.