jrobinsonc
7/3/2016 - 12:10 AM

SCSS FontAwesome mixin

SCSS FontAwesome mixin

@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;
        }
    }
}