Container Queries and Units
Briefly

With @media queries, there's a tight coupling of the styling of a component's content and the size of the browser window. This means that the styles within a given component depend on the layout.
Without container queries, we'd have to specify which cards we want to have the vertical layout, which ones should have the horizontal layout, and which should have a bigger image explicitly. When you then consider all possible screen sizes and container layouts, this quickly becomes quite complicated.
Read at Frontendmasters
[
add
]
[
|
|
]