Next Gen CSS: @container | CSS-Tricks
Chrome is experimenting with @container, a property within the CSS Working Group Containment Level 3 spec being championed by Miriam Suzanne of Oddbird, and a group of engineers across the web platform. @container brings us the ability to style elements based on the size of their parent container.
https://css-tricks.com/next-gen-css-container/?utm_source=tldrnewsletter