Skip to content

Instantly share code, notes, and snippets.

@kilgarenone
Last active December 9, 2018 06:20
Show Gist options
  • Save kilgarenone/0b8f2cab41afd5240c64ade356fbcc47 to your computer and use it in GitHub Desktop.
Save kilgarenone/0b8f2cab41afd5240c64ade356fbcc47 to your computer and use it in GitHub Desktop.
fontello
@font-face {
font-family: "fontello";
src: url("./font/fontello.woff2") format("woff2"),
url("./font/fontello.woff") format("woff"),
url("./font/fontello.ttf") format("truetype"),
url("./font/fontello.svg") format("svg");
font-weight: normal;
font-style: normal;
}
[class^="icon-"]:before,
[class*=" icon-"]:before {
font-family: "fontello";
font-style: normal;
font-weight: normal;
display: inline-block;
text-decoration: inherit;
width: 1em;
margin-right: 0.2em;
text-align: center;
font-variant: normal;
text-transform: none;
line-height: 1em;
margin-left: 0.2em;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
text-shadow: 1px 1px 1px rgba(127, 127, 127, 0.3);
}
.icon-github-circled:before {
content: "\f09b";
}
.icon-flickr:before {
content: "\f16e";
}
.icon-tumblr-squared:before {
content: "\f174";
}
.icon-spotify:before {
content: "\f1bc";
}
.icon-medium:before {
content: "\f23a";
}
.icon-linkedin-squared:before {
content: "\f30c";
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment