Site logo

Archived topic

Forcing grid container to be always square

3 replies · Started by Igor on November 27, 2022

Viewing posts 1–4 of 4

Hi Guys,
Is it possible to force the grid container to always be in square aspect ratio? Thank you!

Hi Fernando,

Thanks for quick response! I think I solved the problem with a simple css code "aspect-ratio: 1 / 1;"
I'm still not sure if this works in all browsers, but it does the job for now.
Thank you!

This archived topic is closed to new replies.