Rachel Andrew 9/21/2024

Masonry and good defaults

Read Original

The author, a long-time CSS educator, discusses the CSS Working Group's proposal for masonry layout. They argue against implementing it as part of CSS Grid ('grid-template-rows: masonry'), advocating instead for a separate 'display: masonry' property. The core argument centers on the importance of good defaults for ease of learning and use, explaining how a dedicated property would provide more intuitive initial behavior for masonry layouts compared to adapting Grid's existing defaults.

Masonry and good defaults

Comments

No comments yet

Be the first to share your thoughts!

Browser Extension

Get instant access to AllDevBlogs from your browser

Top of the Week