Rachel Andrew 9/21/2024

Masonry and good defaults

Read Original

The author, a long-time CSS educator, presents a detailed opinion on implementing CSS masonry layout. They argue against defining masonry as part of CSS Grid, advocating instead for a separate 'display: masonry' value. 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 and a clearer teaching path compared to the current complex Grid-based workaround.

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