Created
January 20, 2016 20:35
-
-
Save kmck/4e75d975dcae3d9ec1cb to your computer and use it in GitHub Desktop.
Generated by SassMeister.com.
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
// ---- | |
// libsass (v3.3.2) | |
// ---- | |
@function icon-char($filename) { | |
$char: ""; | |
@if $filename == reblog { | |
$char: "\EA06"; | |
} | |
@return $char; | |
} | |
@mixin icon($filename, $insert: before) { | |
&:#{$insert} { | |
content: icon-char($filename); | |
} | |
} | |
.icon_reblog:before { | |
content: "\EA06" } | |
.reblog-icon { | |
@include icon('reblog'); | |
} |
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
@charset "UTF-8"; | |
.icon_reblog:before { | |
content: "\EA06"; | |
} | |
.reblog-icon:before { | |
content: ""; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment