Created
December 22, 2019 22:45
-
-
Save FFKL/eb0a2269a6145b5152e231817c530cad to your computer and use it in GitHub Desktop.
FontAwesome icon mixin
This file contains 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 font-awesome-icon($unicode, $font-size: 1rem, $line-height: 1) { | |
font-family: FontAwesome; | |
font-size: $font-size; | |
line-height: $line-height; | |
content: unquote("\"\\#{$unicode}\""); | |
display: inline-block; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment