Skip to content

Instantly share code, notes, and snippets.

@BronsonQuick
Created June 1, 2012 03:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save BronsonQuick/2848535 to your computer and use it in GitHub Desktop.
Save BronsonQuick/2848535 to your computer and use it in GitHub Desktop.
CSS to add a PDF icon
blockquote a[href$='.pdf'] {
padding: 0 0 0 22px;
padding-bottom:2px;
background: transparent url(images/icon_pdf.gif) 0 0 no-repeat;
font-weight: bold;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment