CSS Grid can be used to stack elements

Stefan Judis / filed under CSS Grid Layout, HTML & CSS

I came across the article How to Stack Elements in CSS written by Sarah Dresner and learned that one could use display: grid; to stack element without setting any absolute positioning! 😲

Subscribe to newsletter

Design and frontend links delivered to your inbox every day and week. No spam, unsubscribe at anytime.

Choose frequency

Permission