4 ms·
"Updated class prefix for all icons: .glyphicon- instead of .icon-. We changed this for a more unique class, but also for consistency with the newly required ba
by notjustanymike 13y ago
"Updated class prefix for all icons: .glyphicon- instead of .icon-.
We changed this for a more unique class, but also for consistency with the newly required base class as noted above."
Seriously, how is that in any way helpful?
- chancancode 13y agoSo that people who ship alternative icon packs (e.g. font-awesome) no longer have to hack around[1] the bootstrap style? [1]: https://github.com/FortAwesome/Font-Awesome/blob/master/build/assets/font-awesome/css/font-awesome.css#L156 https://github.com/FortAwesome/Font-Awesome/blob/master/buil...
- ZeroGravitas 13y agoWhen I implemented Bootstrap 2 with an existing site I found that the icon sprite was getting loaded on random pages. Turned out there was existing CSS that used "icon-" as part of the classname which was getting picked up by the Bootstrap CSS.
- bjhoops1 13y agoYeah, this is going to be a bit of a pain. Plus it looks like you also have to add .glyphicon? So instead of .icon-plus, you now have .glyphicon .glyphicon-plus. :(