There were also some new units, which I think are pretty exciting. There was like 14 new viewport units. You get to basically you get one cqw or one cqh Uh or i or b So the w and the i will give you 1% of the width And the h and the b will give you1% of the height Then you also have min and max which is the same as viewport unit Which is the smaller value of the width or height Or the larger value of thewidth or height That's pretty cool. Also use it with css font sizing uh, where If you have like a h2 and you want that font size to be Scaled up
In this Hasty Treat, Scott and Wes explain what container queries are, use cases for them, new units of measurement, and possible issues with container queries.
Show Notes
Tweet us your tasty treats