TimPietrusky / weloveiconfonts

This is like Google Web Fonts, but for Open Source Icon Fonts. Hurray!
https://weloveiconfonts.com
652 stars 99 forks source link

A better CSS example for using the font-family #12

Closed TimPietrusky closed 11 years ago

TimPietrusky commented 11 years ago

Remove the body and add something like this:

[class^="<iconname>-"]:before, [<iconname>*=" <iconname>-"]:before {
  font-family: <font-name>;
}

Reference: Font Awesome

KittyGiraudel commented 11 years ago

Seconded.