background-clip: text
Posted by Dave Hyatt on Thursday, March 20th, 2008 at 4:54 pmCSS3 has introduced a property called background-clip that can be used to clip backgrounds to either the border, padding or content box. I have extended this property with a fourth value, text, that causes the background image to clip to foreground text (including decorations and shadows). The shape of the foreground content (including [...]