Feature request: Icon fallback

17 views
Skip to first unread message

got...@gmail.com

unread,
May 15, 2014, 6:25:17 AM5/15/14
to ico...@googlegroups.com
Hello, I realized when an icon it's not defined due a typo or because has been removed, it quite hard to notice that the icon is missing. Would be great to have some kind of fallback icon, so by default for any icon-* the :before element has warning text, and then be overriden by the :before element of the correct icon.
What do you think?

Regards

Keyamoon

unread,
May 15, 2014, 11:50:41 AM5/15/14
to ico...@googlegroups.com
That would require adding another selector like [class^="icon-"]:before, [class*=" icon-"]:before, which might have some bad performance implications.
Reply all
Reply to author
Forward
0 new messages