Kev Bonett avatar Kev Bonett

Expandable Sections Within a CSS Grid

Screenshot of “Expandable Sections Within a CSS Grid”

This is a great use case for CSS Grid's dense packing algorithm!

I also love how Kev suggests this could replace annoying pop-ins/modals:

This could be a nice alternative to modals for when we want to reveal additional content, but without hijacking the entire viewport in the process.