Skip to content

Instantly share code, notes, and snippets.

@pixelchar
Last active December 22, 2015 22:39
Show Gist options
  • Save pixelchar/6541445 to your computer and use it in GitHub Desktop.
Save pixelchar/6541445 to your computer and use it in GitHub Desktop.
Label PDF links automatically with CSS
a[href$=".pdf"]:after {
content: " (PDF)";
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment