Skip to content

Instantly share code, notes, and snippets.

@danielpowney
Created August 20, 2016 11:55
Show Gist options
  • Save danielpowney/e548f70f683287a90c82251378d5f417 to your computer and use it in GitHub Desktop.
Save danielpowney/e548f70f683287a90c82251378d5f417 to your computer and use it in GitHub Desktop.
@font-face {
font-family: 'icomoon';
src: url('fonts/icomoon.eot?agusew');
src: url('fonts/icomoon.eot?agusew#iefix') format('embedded-opentype'),
url('fonts/icomoon.ttf?agusew') format('truetype'),
url('fonts/icomoon.woff?agusew') format('woff'),
url('fonts/icomoon.svg?agusew#icomoon') format('svg');
font-weight: normal;
font-style: normal;
}
[class^="icon-"], [class*=" icon-"] {
/* use !important to prevent issues with browser extensions that change fonts */
font-family: 'icomoon' !important;
speak: none;
font-style: normal;
font-weight: normal;
font-variant: normal;
text-transform: none;
line-height: 1;
/* Better Font Rendering =========== */
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
.icon-smile:before {
content: "\e9e1";
}
.icon-sad:before {
content: "\e9e5";
}
.icon-neutral:before {
content: "\e9f7";
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment