Skip to content

Instantly share code, notes, and snippets.

@0632347878
Created July 22, 2017 09:26
Show Gist options
  • Save 0632347878/1276993d7e464b9237afa6c6386a45e8 to your computer and use it in GitHub Desktop.
Save 0632347878/1276993d7e464b9237afa6c6386a45e8 to your computer and use it in GitHub Desktop.
.element {
position: relative;
}
/*replace the content value with the
corresponding value from the list below*/
.element:before {
content: "\f000";
font-family: FontAwesome;
font-style: normal;
font-weight: normal;
text-decoration: inherit;
/*--adjust as necessary--*/
color: #000;
font-size: 18px;
padding-right: 0.5em;
position: absolute;
top: 10px;
left: 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment