Created
July 3, 2016 00:10
-
-
Save jrobinsonc/aba1ec153023d8c70415f251d0c058bb to your computer and use it in GitHub Desktop.
SCSS FontAwesome mixin
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
@mixin FontAwesome($content: '') { | |
display: inline-block; | |
font: normal normal normal 14px/1 FontAwesome; | |
font-size: inherit; | |
text-rendering: auto; | |
-webkit-font-smoothing: antialiased; | |
-moz-osx-font-smoothing: grayscale; | |
@if $content != '' { | |
&:before { | |
content: $content; | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment