html5 - Font icon ligatures -
i made font icon set fontello. @ moment works this:
<div class="icons_class home" ng-click="tohome()"></div>
and css of corresponding class is:
.icons_class { font-family: 'myfont'; ... ... } .home:before { content: '/e822'; }
but want use this:
<div class="icons_class" ng-click="tohome()">home</div>
like material icon.
is possible? have use ligatures purpose?
i did it.
instead of fontello.com must use icomoon.io, there specific feature ligatures:
ligatures
to enable/disable ligatures, press fi button in font tab of app. enabling ligatures, able assign words/tags each glyph. (use comma assign multiple words each glyph.)
if platform in use font supports ligatures, typing words assign each glyph bring glyph. ligatures not supported in ie 9 , older, icomoon app provides javascript polyfill you. ie 10 , other modern browsers support ligatures.
Comments
Post a Comment