Return to Snippet

Revision: 4414
at December 7, 2007 17:50 by neal_grosskopf


Initial Code
/* external links */
a[href^="http://"] 
{
padding-right: 13px;
background: url(external.gif) no-repeat center right;
}

/* emails */
a[href^="mailto:"]
{
padding-right: 20px;
background: url(email.png) no-repeat center right;
}

/* pdfs */
a[href$=".pdf"]
{
padding-right: 18px;
background: url(page_white_acrobat.png) no-repeat center right;
}

Initial URL
http://nealgrosskopf.com/files/css/style.css

Initial Description
Style external, email, and pdf links using css3 attribute selectors.

Initial Title
Style Links By File Type

Initial Tags
css, CSS3

Initial Language
CSS