Long thought impossible, Heydon Pickering has found a way to replicate the idea of container queries using a cool CSS trick / hack using a clever combination of flex-wrap, flex-basis, and flex-grow. It’s a really powerful trick. We’ll still need media queries for stuff, but this could prove to be really, really handy! Heydon’s original article on The Holy Albatross: His follow-up: More info on Emmet: /// Timestamps 00:00 - Introduction 1:34 - basic setup 3:05 - understanding flex-wrap 4:10 - understanding flex-basis 5:57 - understanding flex-grow and shrink 7:33 - putting them all together 8:29 - negative flex-basis 9:13 - n ... #Kevin_Powell #tutorial #html #css #css_no_media_queries #css_container_query #container_query #holy_albatross #heydon_pickering 20200804 fuiEYR6Hoe0
Hide player controls
Hide resume playing