Myvideo

Guest

Login

Container queries are possible!

Uploaded By: Myvideo
1 view
0
0 votes
0

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

Share with your friends

Link:

Embed:

Video Size:

Custom size:

x

Add to Playlist:

Favorites
My Playlist
Watch Later