Container queries enable you to apply styles to an element based on the size of the element's container. If, for example, a container has less space available in the surrounding context, you can hide certain elements or use smaller fonts.... Applies layout, style, and size containment...dimensions of the container. Applies layout, style, and inline-size containment...