Horizontal Masonry

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.

demo

  • HTML, CSS
  • Includes: index.html and CSS file
Please check for future updates here or at my gitHub page.