X

Add icons to your links with CSS3

// A lovingly quick way to add icons next to your links that I just saw in +Lea Verou's (of W3C) site: all you need is a simple line of #CSS3 code.

a[href^="http://twitter.com"]::before { content: url("twitter.png"); }

See it live at http://lea.verou.me/

Markos Giannopoulos:
Related Post