Last active
August 7, 2021 03:40
-
-
Save henshaw/b0d29dd138767cb4e9faed4e6710ff96 to your computer and use it in GitHub Desktop.
External link style that displays image/icon after the text
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
/* Display Image */ | |
article a[href *= "https://amzn.to"]:after, article a[href *= "https://www.amazon.com"]:after { | |
display:inline-block;content: " " url(/amazon.svg);width:1rem;padding-left:.2rem; | |
} | |
/* Display Character */ | |
article a[href *= "#"]:after { | |
content: " ⇣";color:#71708B; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Reference SVG: https://coywolf.cloud/ipfs/QmRkRS3s1agCPBo3FCrnALTW9W1zHgryBszC5fhq1j1dzp/amazon.svg