Skip to content

Instantly share code, notes, and snippets.

@fatihacet
Last active May 2, 2024 05:55
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save fatihacet/01df7ea3194ff9ac4cbd to your computer and use it in GitHub Desktop.
Save fatihacet/01df7ea3194ff9ac4cbd to your computer and use it in GitHub Desktop.
icon font sample usage
@font-face {
font-family: 'fontello';
src: url('../font/fontello.eot?14391850');
src: url('../font/fontello.woff?14391850') format('woff'),
url('../font/fontello.ttf?14391850') format('truetype'),
url('../font/fontello.svg?14391850#fontello') format('svg');
font-weight: normal;
font-style: normal;
}
.icon:before {
font-family: "fontello";
display: inline-block;
text-decoration: inherit;
text-align: center;
font-variant: normal;
text-transform: none;
}
.icon.icon-search:before { content: '\e800'; } /* '' */
.icon.icon-mail:before { content: '\e801'; } /* '' */
.icon.icon-mail-alt:before { content: '\e802'; } /* '' */
.icon.icon-spin5:before { content: '\e803'; } /* '' */
.icon.icon-plus-squared:before { content: '\e804'; } /* '' */
.icon.icon-plus-circled:before { content: '\e805'; } /* '' */
.icon.icon-plus:before { content: '\e806'; } /* '' */
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment