Created
April 9, 2012 05:32
-
-
Save chsh/2341675 to your computer and use it in GitHub Desktop.
Show icon after external link using Font Awesome
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
a[target="_blank"]:after { | |
content: "\f08e"; | |
font-family: FontAwesome; | |
font-weight: normal; | |
font-style: normal; | |
display: inline-block; | |
text-decoration: inherit; | |
} |
Thanks for that public gist. That was exactly what I was looking for.
This seems to apply it to every link from the external link onwards, regardless of whether they're actually external or not. 01-Scripts solution fixed the problem: https://gist.github.com/01-Scripts/3010527
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Font Awesome should be installed preconditionally.