Google+ displays each post in a staggered layout, as shown in the image below:
https://i.sstatic.net/BIKzm.png
In my Android app, I used StaggeredGridView to achieve this view. However, I am struggling to figure out which library or CSS tricks are necessary to implement a similar layout on the web.
The height of each div is different, and using float:left
did not produce the desired result. It created large spaces between the divs like this:
https://i.sstatic.net/2KUhc.png
How can I create divs with a layout similar to Google Plus? Are there any specific keywords to search for this type of design?