Use CSS3 to hide an image behind text
A QuickBit published on February 6, 2008
A QuickBit published on February 6, 2008
Erik Kastner whips up a neat little demo that hides an image behind text. The image is revealed by using the ::selection pseudo-element found in CSS3. You’ll need Firefox or Safari to see the magic.
A tiny web design studio founded by designer and author Dan Cederholm. We deliver hand-crafted pixels & text from Massachusetts, USA. Learn more