Drawing Things with Box-Shadow →
Joshua Hibbert:
This is a neat little trick that I stumbled upon when playing around with a CSS experiment a few months ago. Basically, by using multiple box-shadows, you can draw complex images with only a single element. As you may know, I’m a big fan of semantic markup, and I really don’t like using extra elements just for styling, so I was very happy with this discovery!
Nice trick!
comments powered by Disqus