ecomfe / fontmin

Minify font seamlessly
http://ecomfe.github.io/fontmin
MIT License
5.74k stars 315 forks source link

CSS generator template issue #37

Closed Delagen closed 7 years ago

Delagen commented 8 years ago

font-family setted to :after selector, but icon self to :before

so in case of HTML

<span class="icon-first"></span> it works

but in case of HTML

<span class="bla bla bla icon-first"></span> 

it set only content in before but not font-family

bartvanandel commented 8 years ago

Facing the same issue here. Easily fixed by using ":before" everywhere.