Aspect ratios

I was looking recently for an easy way to calculate a ratio for a series of images on a project that needed to also dynamically grid within a flexible Div. I could use the width as a percentage to set the number of images in a row within the Div, but needed to make sure the height was always relative. Usually I would work out the ratio and divide it to get the padding, but came across this in my research.

This is rather handy…

https://ratiobuddy.com/

1 Like

Thanks for sharing! Very helpful

1 Like