3 ms·
Yes, using fonts for icons was always a wee bit of a hack. The only real major advantage over SVGs was easy sizing for being inline with text.
by KingMob 10y ago
Yes, using fonts for icons was always a wee bit of a hack. The only real major advantage over SVGs was easy sizing for being inline with text.
- fortawesome 10y agoThe implementation with the :before class definitely qualifies as a bit of a hack. No question. Some of the icons themselves represent something of a universal language for websites. Using those symbols in a typeface is similar in some ways to character based languages like Japanese or Chinese. So I might argue that icons as fonts are quite an appropriate use.