I'm attempting to create a layout where divs are displayed from top to bottom, but once they reach the bottom of the browser window, any additional divs will overflow to the right. You can take a look at the desired layout here: https://i.stack.imgur.com/jHRip.png
So far, I've experimented with various combinations of CSS and JavaScript including properties like white-space:nowrap
, display: inline
, display: table
, float:left
, among others, but have yet to achieve the layout as depicted in the diagram.