Last active
April 4, 2018 20:40
-
-
Save luisfelipe-dev/cfec18cb38b3a90cd19916ef4de454b1 to your computer and use it in GitHub Desktop.
Colocar icone do Font Awesome antes do texto por CSS
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
| 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