Current breakpoint min-width
/max-width
calculations have a gap when viewport width is fractional (as can happen when the user zooms, but more importantly when the user has a high-dpi display with a fractional dpr/devicePixelRatio, such as the Surface 3 at 1.5
). See the related clarification I added to CSS MQ4 https://github.com/w3c/csswg-drafts/pull/1083
Instead of spacing the min-
and max-
values by 1px
, precision is now increased to 0.01px
, which should cover most fractional values in the foreseeable future.
xref https://github.com/twbs/bootstrap/issues/24137, https://github.com/twbs/bootstrap/issues/21552