DEV Community

Discussion on: How to Resize Uneven Sized Images without breaking their Aspect Ratio

Collapse
shafiemoji profile image
Shafi Author • Edited on

If we use height: auto; instead of a fixed height, we'd keep the aspect ratio but all of the images would have different height like so i.imgur.com/hGdhivc.png