Last active
June 3, 2022 07:30
-
-
Save henshaw/ceef737c881a3fc3584b9432ef64917c to your computer and use it in GitHub Desktop.
External link icon for PDFs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
article a[href *= ".pdf"]:after { | |
display:inline-block;content: " " url(/pdf.svg);width:2rem;padding-left:.4rem; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Referenced on How to use iconography to inform readers about external links