Day 56: container queries

from blog Manuel Matuzović - Blog, | ↗ original
↗ original
You can use media queries to style elements based on features of the browser viewport, for example, min-width, max-height, or orientation. With container queries, you can now do the same but with any parent element. Instead of the viewport, you can now listen to properties and features of a containing element.You can query all kinds of things,...