I create pen with example of something like bug: https://codepen.io/dimakrutoo/pen/PoGZymb
if we change the value --layoutWMin
of the variable from "0px" to "0" then the calculations break
Can anyone please explain why the clamp()
function doesn't work with a zero value without units?
Some more illustrative example here: https://codepen.io/dimakrutoo/pen/RwGarWY