CSS Containment This box and children are independent from the rest of the layout.
Slide 31
.sidebar { contain: layout; }
Slide 32
Container Queries Design components that can react to the available space in their container.
Slide 33
Try out Container Queries In chrome://flags enable “CSS Container Queries”.
Slide 34
.sidebar { container-type: inline-size; }
Slide 35
Using container-type creates a containment context. This also turns on layout, style, and inline-size containment, in the same way as using the contain property does.