aspect-square

The class aspect-square is a Tailwind CSS class, part of the aspect ratio classes in the category layout.

Resulting CSS

aspect-ratio: 1 / 1;

Want to learn more about Tailwind CSS? Join the Tailscan email list!

Get Tailwind CSS and Tailscan news in your inbox every few weeks.

If you want to unsubscribe later, you can do so very easily, no hard feelings!