OiO.lk Blog CSS CSS-only masonry layout
CSS

CSS-only masonry layout


I am trying to achieve a dashboard grid witch has variable number of elements based on fetch result in marked elements ( red boxes on image ). I want to fit content on vieport with min height of items. if any item hits its min height then overflow grid.

See image below:
Group Dashboard

Most unknown thing for me is to keep grid height to vieport and also enable overflow while hits min height of any grid element.



You need to sign in to view this answers

Exit mobile version