Last active
December 13, 2015 21:58
-
-
Save jrcryer/4980650 to your computer and use it in GitHub Desktop.
Icon fonts (using IcoMoon generated font)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@font-face { | |
font-family: 'icomoon'; | |
src:url('fonts/icomoon.eot'); | |
src:url('fonts/icomoon.eot?#iefix') format('embedded-opentype'), | |
url('fonts/icomoon.woff') format('woff'), | |
url('fonts/icomoon.ttf') format('truetype'), | |
url('fonts/icomoon.svg#icomoon') format('svg'); | |
font-weight: normal; | |
font-style: normal; | |
} | |
[data-icon]:before { | |
font-family: 'icomoon'; | |
content: attr(data-icon); | |
speak: none; | |
font-weight: normal; | |
line-height: 1; | |
-webkit-font-smoothing: antialiased; | |
} | |
.font-tree:before, .font-mobile:before { | |
font-family: 'icomoon'; | |
speak: none; | |
font-style: normal; | |
font-weight: normal; | |
line-height: 1; | |
-webkit-font-smoothing: antialiased; | |
} | |
.font-tree:before { | |
content: "\64"; | |
} | |
.font-mobile:before { | |
content: "\6d"; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment