Stop the Flexbox for 1D, Grid for 2D layout nonsense
Flexbox is great at some 2D layouts, and Grid can be a better choice for 1D layouts as well, so let’s stop that being how we decide which one we’re going to use, because often it leads us down the wrong path.
🔗 Links
✅ Code from first example:
✅ Code from second example:
✅ Diving into how flexbox works:
✅ Easy way to get started with Grid:
⌚ Timestamps
00:00 - Introduction
00:25 - Why Grid might be better for 1D some layouts
04:35 - Why Flexbox might be better for some 2D layouts
06:45 - Grid gives you more control on sizing, flexbox is better for letting the children have control
#css
--
Come hang out with other dev’s in my Discord Community ...
#KevinPowell #Kevin_Powell #css #front-end #frontend #html #web_development #css_tutorial #tutorial
20240710
vO-1eseQ-kc
1 view
274
72
5 months ago 00:05:32 1
HIDARI (Pilot Film) - The Stop-Motion Samurai Film
5 months ago 00:15:59 1
BARRY LONG ≡X≡ THERE IS A SOLUTION TO EVERYTHING
5 months ago 01:08:53 1
Music Travel Love - New Acoustic Cover Songs 2023 (Non Stop Playlist) | Music Avenue
5 months ago 01:00:30 1
T❯I & SP:MC Boat Party | Live @ Hospitality On The Beach 2023
5 months ago 00:03:19 1
True Damage - GIANTS (ft. Becky G, Keke Palmer, SOYEON, DUCKWRTH, Thutmose) | League of Legends
5 months ago 00:04:01 1
Dr Funk - Roadrunner (Drop D) Marcus Miller Inspired
5 months ago 00:18:54 1
Ambient Melodic House - Live Looping by Reinhardt Buhr (Spitfire Audio Piano)
5 months ago 00:03:19 1
{山水组合 - Shan Shui Zu He} ◁-〔你莫走 - Ni Mo Zou〕-▷
5 months ago 00:03:34 1
Placebo - This Picture (Official Music Video)
5 months ago 00:29:16 1
Scottish HATE CRIME Special from Comedy Unleashed
5 months ago 00:00:19 1
Oni 2.0 Skin Bundle is Coming to VALORANT!
5 months ago 00:01:53 1
Vincent Trocheck FURIOUS After No-Call On Noah Dobson Late In Game
5 months ago 00:05:04 1
Red Hot Chili Peppers - Dark Necessities [Official Music Video]
5 months ago 00:28:49 1
МАЙК ТАЙСОН – РОЙ ДЖОНС – ПОЛНЫЙ БОЙ / MIKE TYSON VS ROY JONES – FULL FIGHT