CSS Grid and Flexbox brought incredible layout tools to the web, but they don’t yet do everything a designer might want.| WebKit
UPDATE October 2024: Since this article was published, members of the CSS Working Group have concluded that all of the grid abilities described here — variable-width tracks, explicit placement, spanning, and subgrids — are worth including in masonry layout, and are possible to implement performantly.| WebKit