Day 42: aspect-ratio

from blog Manuel Matuzović - Blog, | ↗ original
↗ original
Yes, I know, aspect-ratio is not the hottest shit, but Safari only starting supporting it in version 15 and there’s a lot I didn’t know about the property. That’s reason enough for me to write about it. :)Defining ratios You can use the aspect-ratio property to define the preferred aspect ratio for a box by defining a preferred width and height....