aspect-ratio
Also written: aspect-4/3, aspect-square, aspect-video
A property (and Tailwind classes) that sets an element's width-to-height proportion so the height follows the width, like 4/3 for the shop photos.
Also written: aspect-4/3, aspect-square, aspect-video
A property (and Tailwind classes) that sets an element's width-to-height proportion so the height follows the width, like 4/3 for the shop photos.