GridVids
Sign in with YouTube

How did I not know about this CSS Grid + Flexbox helper sooner?!

Mark watched
Don't Miss
Hide
Open in popup Open on YouTube

Wes Bos 2 years ago

How am I just finding out about display: contents; Suuuuper handy for CSS Flexbox + Grid where the children aren't direct descendants.

Important to note for accessibility, use only on wrappers, not h1 → h6, table, button and ol ul lists