Container queries allow us to query the size of an element, as opposed to the viewport, and style its descendants accordingly. They provide more flexibility when it comes to layout and have the potential to simplify CSS code.
Sort: