Why You Should Learn CSS Grid Before Flexbox

  Рет қаралды 904

General Musings with Kevin Powell

General Musings with Kevin Powell

Күн бұрын

This week I'll talk about why I believe Grid is simpler and more intuitive to learn first compared to Flexbox, exploring some common misconceptions, the complexity of Flexbox, and how learning Grid first sets you up for success.
My primary KZbin channel where I teach frontend development, with a strong focus on CSS: / @kevinpowell
✉ The written version of my newsletter: www.kevinpowel...
💬 Come hang out with other dev's in my Discord Community: / discord
Help support my channel
👨‍🎓 Get a course: www.kevinpowel...
👕 Buy a shirt: teespring.com/...
💖 Support me on Patreon: / kevinpowell

Пікірлер: 7
@tomaszgora4353
@tomaszgora4353 Ай бұрын
I just went through a web and mobile Dev course bachelor year in a major uni in Scotland and the web guy thought us jQuery, echoing markup with PHP on the page one line at a time, and making layouts with tables. You don't talk to me about the way we're being taught and trigger my traumas 😭
@zackysh_
@zackysh_ Ай бұрын
I will be brief, but I think that "solution based" resources are part of why people don't choose the right tools; I see this happening in Java code-bases, but much more frequently in CSS and Typescript ones. EDIT: I have to point, "unofficial solution based" resources; official sites often suggest the appropiate tools.
@daveturnbull7221
@daveturnbull7221 Ай бұрын
When flexbox first came out I tried learning it and failed. I persevered and failed. Eventually I just went back to how I did stuff before. Then grid arrived and I thought gret, another thing to totally baffle me. I could not have been more wrong. Straight away it just clicked. took me a while to grasp some of the nuances but the basics just seemed natural. Since learning grid and thanks to your videos I've now got a very simple understanding of he basics of flexbox and am able to use it when appropriate but I'll always look to grid first to see if it is the best fit for what I need.
@rafagleich2258
@rafagleich2258 Ай бұрын
Hi Kevin, First of all big thanks for all of your content. You make me fall in love with CSS. You are truly a CSS wizard. Secondly, I tried to open podcast link from your newsletter but it doesn’t seem to work. I can access the website, but play button doesn’t work, and it shows that podcast is 00:00:01 (1 sec) long. Best, Rafal
@zig5712
@zig5712 Ай бұрын
I really want to use grid more but I have yet to encounter a situation where it feels more straightforward (Not that there are no use cases, i just personally haven't run into them yet, i'm very new). The biggest draw for me towards the grid system is by far the fraction unit system even if it can be reproduced in flex, fr literally makes sense, there's no magic behind it, it just does what it says it does.
@KelseyThornton
@KelseyThornton Ай бұрын
I found grid to be more intuitive than flexbox and so, much easier to learn.
@ELStalky
@ELStalky Ай бұрын
Agree for the most part but have to say that `fr` has some unintuitive behavior, too.
I hate that people say stuff like this...
11:28
General Musings with Kevin Powell
Рет қаралды 472
How teaching helped me become a better developer
13:12
General Musings with Kevin Powell
Рет қаралды 1 М.
managed to catch #tiktok
00:16
Анастасия Тарасова
Рет қаралды 48 МЛН
А ВЫ УМЕЕТЕ ПЛАВАТЬ?? #shorts
00:21
Паша Осадчий
Рет қаралды 2,2 МЛН
Kids' Guide to Fire Safety: Essential Lessons #shorts
00:34
Fabiosa Animated
Рет қаралды 17 МЛН
A conversation with Una Kravets: The rapid evolution of CSS and hobbies outside of work
1:02:00
General Musings with Kevin Powell
Рет қаралды 1,7 М.
Elementor Tutorial - Flexbox vs Grid Container Layout
16:10
Web Monkey
Рет қаралды 7 М.
Learn CSS Displays in 12 Minutes | Grid, Flexbox, Inline Block, Block
12:15
Why does CSS keep getting more complex?
6:46
General Musings with Kevin Powell
Рет қаралды 587
CSS Grid or Bootstrap 4 in 2018?
15:30
Stefan Mischook
Рет қаралды 141 М.
It's easy to get stuck in our ways
9:06
General Musings with Kevin Powell
Рет қаралды 398
The slow adoption of new CSS features
9:53
General Musings with Kevin Powell
Рет қаралды 1,1 М.
I felt like I was taking a step backward
7:29
General Musings with Kevin Powell
Рет қаралды 354
The secret to mastering CSS layouts
17:11
Kevin Powell
Рет қаралды 277 М.
A conversation with the person who inspired my channel, Travis Neilson
1:12:17
General Musings with Kevin Powell
Рет қаралды 1,1 М.
managed to catch #tiktok
00:16
Анастасия Тарасова
Рет қаралды 48 МЛН