Skip to content

Instantly share code, notes, and snippets.

@luisfelipe-dev
Last active April 4, 2018 20:40
Show Gist options
  • Select an option

  • Save luisfelipe-dev/cfec18cb38b3a90cd19916ef4de454b1 to your computer and use it in GitHub Desktop.

Select an option

Save luisfelipe-dev/cfec18cb38b3a90cd19916ef4de454b1 to your computer and use it in GitHub Desktop.
Colocar icone do Font Awesome antes do texto por CSS
a:before {
font-family: FontAwesome;
content: "\f095";
display: inline-block;
padding-right: 3px;
vertical-align: middle;
}
FONT AWESOME VERSÃO 5:
a:before{
font-family: "Font Awesome 5 Free";
font-weight: 900;
content: "\f105";
display: inline-block;
padding-right: 3px;
vertical-align: middle;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment