We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Currently bootstrap uses queries like @media (max-width: 575.98px). It appears this was because range queries were not supported in the past:
@media (max-width: 575.98px)
https://github.com/twbs/bootstrap/blob/main/site/layouts/partials/callouts/info-mediaqueries-breakpoints.md?plain=1#L1
All browsers now support range queries, so we don't need the confusion around "why did you subtract 0.02px?" See https://caniuse.com/css-media-range-syntax
This means we can just have:
@media (width < 576px)
The text was updated successfully, but these errors were encountered:
Based on https://caniuse.com/?search=range%20queries, it could be update only in v6 with #37309 (or other PR) to update our .browserlistrc
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
Prerequisites
Proposal
Currently bootstrap uses queries like
@media (max-width: 575.98px)
. It appears this was because range queries were not supported in the past:https://github.com/twbs/bootstrap/blob/main/site/layouts/partials/callouts/info-mediaqueries-breakpoints.md?plain=1#L1
Motivation and context
All browsers now support range queries, so we don't need the confusion around "why did you subtract 0.02px?" See https://caniuse.com/css-media-range-syntax
This means we can just have:
The text was updated successfully, but these errors were encountered: