bootstrap icon indicating copy to clipboard operation
bootstrap copied to clipboard

Added css variables for breakpoints

Open shaack opened this issue 3 years ago • 0 comments

See Issue https://github.com/twbs/bootstrap/issues/36094 "css variables for breakpoints are missing in Bootstrap 5".

The css variables for the breakpoints have been missing. I just added them in scss/_root.scss.

Without them I have no idea how to detect the current breakpoint from JavaScript, like I do in my detection script bootstrap-detect-breakpoint which works with BS 4 but not with BS 5 because of the missing css variables.

Furthermore this should be present according to the documentation: "[...]we include our grid breakpoints as CSS variables[...]".

shaack avatar Mar 31 '22 19:03 shaack