-
-
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
Provide sr-only as a real mixin #13583
Comments
+1 - This would simplify the process of making specific items screen-reader only. Though, there's nothing stopping you from making your own mixin... |
There are problems with both those classes and mixins you mention. One doubles everything because of a Less bug and the other has two different names, one for the mixin and one for the class because of backward compatibility. Not sure what direction I'd like to go other than to perhaps punt this to v4. |
Punting to v4. |
…e them to create classes in _utilities.scss
Currently, the
.sr-only
rules are mixinable in other selectors, but they are provided inscaffolding.less
. Could it be possible to provide a real mixin for it and then use it in the class, as done for.clearfix
and.text-hide
? This would allow using it when importing the Bootstrap mixins into our own less filesThe text was updated successfully, but these errors were encountered: