Container Query for “is there enough space outside this element?”

A container query can contain viewport units, meaning you can compare the window vs the element and make choices.

Comments