-
-
Notifications
You must be signed in to change notification settings - Fork 78.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Icon classes as mixins #3933
Comments
Work around was to use icon-blank in the dom so the class would inherit all the base icon stuff. Then I can mixin the correct icon-x classes when I need them with no js. |
Classes are not guaranteed to be mixins in Bootstrap. The sprites are built as is to serve a specific purpose and mixins are not that at this time. |
thanks |
If I submitted a patch for this would you think about it? Every class is mixinable in Less. It would be cool if every class in Bootstrap was too. |
In this file: (https://github.com/twitter/bootstrap/blob/master/less/sprites.less)
Lines 17, 18
happens in DOM. Doesn't this make each sprite class like icon-ok unavailable for mixing in?
I mean I CAN mix it in but all I get is what's on line 46 and only what's on line 46.
Or hopefully I'm just doing it wrong.
The text was updated successfully, but these errors were encountered: