DEV Community

Discussion on: A grid layout with responsive squares

Collapse
afif profile image
Temani Afif

now you can safely use aspect-ratio: jsfiddle.net/6rwc2q5u/ it has a good support everywhere: caniuse.com/mdn-css_properties_asp... (and soon available on Safari)

Collapse
stretch0 profile image
Andrew McCallum Author

Ah nice, that's quick and simple