Friday, March 25, 2011

Styling Elements With Glyphs, Sprites and Pseudo-Elements (Smashing Magazine)

In 2002, Mark Newhouse published the article "Taming Lists", a very
interesting piece in which he explained how to create custom list markers
using pseudo-elements. Almost a decade later, Nicolas Gallagher came up with
the technique pseudo background-crop which uses pseudo-elements with a sprite.

Today, on the shoulders of giants, we'll try to push the envelope. We'll
discuss how you can style elements with no extra markup and using a bidi-
friendly high-contrast proof CSS sprite technique (you'll find an example
below). The technique will work in Internet Explorer 6/7 as well.


Share With Friends: Share on FacebookTweet ThisPost to Google-BuzzSend on GmailPost to Linked-InSubscribe to This Feed | Rss To Twitter | Internet - Web Development News, RSS and RSS Feed via Feedzilla.

MLM business opportunity build backlinks

No comments:

Post a Comment