#viewport-units

[ follow ]
fromFrontendmasters
2 months ago

Container Query for "is there enough space outside this element?"

The trick is in combining viewport units within a container query, allowing the main content area to remain fluid while determining if there is additional space.
UX design
[ Load more ]