Skip to content

Instantly share code, notes, and snippets.

@adityatyagi
Created December 24, 2019 19:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save adityatyagi/ecaebb197b8f1731ffff0c7274eff702 to your computer and use it in GitHub Desktop.
Save adityatyagi/ecaebb197b8f1731ffff0c7274eff702 to your computer and use it in GitHub Desktop.
@font-face {
font-family: 'icomoon';
/* Import the files from the correct directory -> assets/icon/ */
src: url('assets/icon/icomoon.eot?112bs6');
src: url('assets/icon/icomoon.eot?112bs6#iefix') format('embedded-opentype'),
url('assets/icon/icomoon.ttf?112bs6') format('truetype'),
url('assets/icon/icomoon.woff?112bs6') format('woff'),
url('assets/icon/icomoon.svg?112bs6#icomoon') format('svg');
font-weight: normal;
font-style: normal;
font-display: block;
}
[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-linkedin-logo:before {
content: "\e900";
}
.icon-youtube:before {
content: "\e901";
}
.icon-twitter:before {
content: "\e902";
}
.icon-instagram-logo:before {
content: "\e903";
}
.icon-facebook-logo:before {
content: "\e904";
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment