Skip to content

Instantly share code, notes, and snippets.

@mixin icon($name, $code)
.icon-#{$name}:before
content: "#{$code}"
// Usage:
+icon(heart, \e600)
// Compiles to:
.icon-heart:before {
content: "\e600";