Skip to content

Instantly share code, notes, and snippets.

@flexseth
Last active July 22, 2019 15:16
Show Gist options
  • Save flexseth/e27e1ffef0637be59d64903ccb0accc7 to your computer and use it in GitHub Desktop.
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)
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