The first concept is to give all the masonry bricks or cells or flex container’s child items
flex: auto. The children then will be sized according to their width and height properties, but will also grow to absorb any extra free space in the masonry, and shrink to their minimum sizes to fit the masonry.
- HTML, CSS
- Includes: index.html and CSS file