jQuery (edge), HTML, CSS, JavaScript
No-Library (pure JS), HTML, SCSS, JavaScript
stacked boxes using nth-child expressions and clear:both to force a new row, and overflow:hidden on containing element to maintain vertical spacing between rows
No-Library (pure JS), HTML, CSS, JavaScript