Last active
March 24, 2019 19:28
-
-
Save adamlaki/04d4f36e6c2c52c4bb20d949caf70732 to your computer and use it in GitHub Desktop.
Style External Links in CSS
This file contains hidden or 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
a[target="_blank"]:not([href*="pineco.de"])::after { | |
/* You can style it anyway you want... */ | |
content: ''; | |
display: inline-block; | |
background: transparent url(external-arrow.svg) no-repeat center center; | |
background-size: cover; | |
width: 1rem; | |
height: 1rem; | |
margin-left: 0.3rem; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment