Cheesetoast

Brain Food for Web Developers

iconset

December 19, 2013
by Graham
2 Comments

Pseudo Element CSS Sprites

CSS sprites are a great way to cut down on page size and increase website performance. It may not always seem like a lot but every bit helps and the less http requests made the better. Ideally, you want to keep decoration separate from the markup and that’s where CSS pseudo elements come in, specifically :before and :after.
Now we have a way of combining spiriting with pseudo elements. Continue reading