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
20 views
351
101
4 weeks ago 00:03:41 1
“Ankle“ — это существительное, которое обозначает часть тела человека или животного, расположенную между стопой и голенью.
4 weeks ago 00:10:32 1
Lego Bendy and the ink nightmare stop motion
4 weeks ago 00:00:37 1
On Mother’s Day, the Russian Ministry of Defense published footage of the work of specialists from the medical service of the co
4 weeks ago 00:49:07 1
[MAJ] Proto Drum Machine, Basement Night Dubbing & Astral Jazz Dance with Luke Una
4 weeks ago 00:03:07 1
[Movieclips] The Net (1995) - An Unsuccessful Getaway Scene (7/10) | Movieclips
4 weeks ago 00:08:57 3
[NoSpeedLimitGermany] Smart ForTwo 451 1.0 mhd 71 PS Top Speed Drive On German Autobahn With No Speed Limit POV
4 weeks ago 00:13:04 2
[The Film Theorists] Film Theory: How to BEAT the Smile Monster! (Smile 2022)
4 weeks ago 00:03:48 1
[CNBC Television] President Joe Biden: Ending U.S. military involvement in Afghanistan was the right decision
4 weeks ago 00:01:28 7
Crimean paratroopers destroyed Ukrainian Armed Forces units and captured Western-made equipment during an attempt to break throu
4 weeks ago 00:45:53 40
The Marlow Murder Club: Season 1, Episode 3 (PBS 2024 US) (ENG/SUB ENG)
4 weeks ago 01:06:22 1
[PRO-onLineIGRY] ToCA Race Driver 3 (МТ, сложно): этап 32, WilliamsF1 Team Challenge (часть 2, финал)
4 weeks ago 01:14:26 1
[PRO-onLineIGRY] ToCA Race Driver 3 (МТ, сложно): этап 32, WilliamsF1 Team Challenge (часть 1)
4 weeks ago 00:00:51 69
[PoliceActivity] Nashville Officer Shoots Man Charging At Him With Butcher Knives
4 weeks ago 00:03:09 1
[CG5] FNAF SONG ▶ “No More Cake“ [SFM] (ft. Chi-Chi & Dolvondo) | CG5
4 weeks ago 01:00:29 7
4 ВОПРОСИТЕЛЬНЫЕ ПРЕДЛОЖЕНИЯ
4 weeks ago 00:03:56 1
Bryan Ferry - Dont Stop The Dance (Official Video), Full HD (Digitally Remastered and Upscaled)
4 weeks ago 00:01:48 1
[Victaton] WUTIWANT TW s/a FW +16
4 weeks ago 00:00:37 1
Roger Waters - The Wall (2015) - 035. Stop
4 weeks ago 00:57:05 8
CLUBBING MIX Best Deep House & Melodic House & Progressive House AUTUM 2024
4 weeks ago 01:23:43 30
FISHER @ kineticFIELD, EDC Orlando, United States 2024-11-08
4 weeks ago 00:02:15 1
[Movieclips] Days of Thunder (3/9) Movie CLIP - Concealed Weapon (1990) HD
4 weeks ago 00:15:32 9
[ENGLISH with James · engVid] Expand Your Vocabulary: Say More Than “HAPPY” & “SAD”
4 weeks ago 00:03:23 1
[TikTokTunes] Musical Youth - Pass The Dutchie (sped up) Lyrics | pass the dutchie on the left hand side
4 weeks ago 00:01:44 2
[CNBC Television] President Joe Biden visits Atlanta after spa shooting rampage