DEV Community

Discussion on: Crop and resize images with CSS

valerauko profile image

I replicated Twitter's layout of images (1 big and 3 small etc) with CSS grid layout. It took a bit of playing around with flexbox in the cells and auto-sizing, but the result seems reliable in proper browsers.