CSS Container Queries: A Visual Guide

The same card in a wide column and a narrow sidebar gets the same answer from a media query. Container queries let each card ask about its own space instead:

That little demo makes the component actually behave like furniture in a room - it rearranges itself to fit the shelf :k_pleased: