Last active
July 22, 2019 15:16
-
-
Save flexseth/e27e1ffef0637be59d64903ccb0accc7 to your computer and use it in GitHub Desktop.
Font Awesome substitution for Plain Text with HTML + CSS online (uses text-indent)
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
li { | |
display:block; | |
position:relative; | |
text-indent: -100%; | |
white-space: nowrap; | |
overflow: hidden; | |
} | |
li::after { | |
content: "visible pseudo-element"; | |
position:absolute; | |
right:0; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment