Masonry and good defaults
Read OriginalThe 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.
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
No top articles yet