Learn flexbox the easy way

  Рет қаралды 670,212

Kevin Powell

Kevin Powell

Күн бұрын

🎓 I have a course dedicated to Flexbox! flexboxsimplified.com
Get the flexbox properties cheatsheet here: kevin-powell.ck.page/25792a66b4
🔗 Links
✅ Navigation demo - starting point: codepen.io/kevinpowell/pen/Jj...
✅ Navigation demo - ending point: codepen.io/kevinpowell/pen/oN...
✅ 3 columns demo - starting point: codepen.io/kevinpowell/pen/oN...
✅ 3 columns demo - ending point: codepen.io/kevinpowell/pen/md...
✅ Deeper dive into the math of flex-grow and flex-shrink: • Flexbox is more compli...
✅ Learn CSS Grid the easy way: • Learn CSS Grid the eas...
⌚ Timestamps
00:00 - Introduction
01:41 - What we are starting with
02:17 - What happens when we declare display: flex
07:06 - flex-grow
11:13 - Dealing with more content
14:49 - Making even columns
20:31 - flex-direction
23:56 - justify-content
26:23 - problems people run into with justify-content
29:12 - align-items
#css
--
Come hang out with other dev's in my Discord Community
💬 / discord
Keep up to date with everything I'm up to
✉ www.kevinpowell.co/newsletter
Come hang out with me live every Monday on Twitch!
📺 / kevinpowellcss
---
Help support my channel
👨‍🎓 Get a course: www.kevinpowell.co/courses
👕 Buy a shirt: teespring.com/stores/making-t...
💖 Support me on Patreon: / kevinpowell
---
My editor: VS Code - code.visualstudio.com/
---
I'm on some other places on the internet too!
If you'd like a behind the scenes and previews of what's coming up on my KZbin channel, make sure to follow me on Instagram and Twitter.
Twitter: / kevinjpowell
Codepen: codepen.io/kevinpowell/
Github: github.com/kevin-powell
---
And whatever you do, don't forget to keep on making your corner of the internet just a little bit more awesome!

Пікірлер: 444
@rafihasan7787
@rafihasan7787 8 ай бұрын
I missed the guy who inspires people who are currently on The Odin Project and comes to these excellent videos. So I'm commenting to all the learners, I know it's difficult, but you got this!
@sylviabellie4297
@sylviabellie4297 5 ай бұрын
Aww thats so sad I loved seeing those comments! Thanks for taking that place 👑
@bien_venu
@bien_venu 5 ай бұрын
Thank you! All of this reading can get overwhelming, but it's totally worth it. Keep pushing guys 🦾
@plantifulalexandra
@plantifulalexandra 3 ай бұрын
@abdelhakimhamidi-zv4qs
@abdelhakimhamidi-zv4qs Ай бұрын
where are you now after 6 month
@rafihasan7787
@rafihasan7787 Ай бұрын
@@abdelhakimhamidi-zv4qs Caught up in a 9-5 job, things got difficult so I didn't even write a single line of code in the last 3 months 😢 Will try to get back on track starting from April.
@Jugement
@Jugement 2 жыл бұрын
As a professional bodybuilder, this really helped me to properly display my flexes, thanks 10/10 would watch again
@wollie1769
@wollie1769 2 жыл бұрын
Lol
@DoubleADwarf
@DoubleADwarf 2 жыл бұрын
Programming 🤝 Bodybuilding Flex Displays
@yawsonenoch6448
@yawsonenoch6448 2 жыл бұрын
😂😂😂😂
@hrushilgawande7222
@hrushilgawande7222 2 жыл бұрын
lol🤣
@seanorathagain1479
@seanorathagain1479 2 жыл бұрын
Lay off the juice bro, its fucking your head UP!
Жыл бұрын
The Odin Project brought me here and maaan, what a teacher!!! Congratulations.
@wotizit
@wotizit 5 ай бұрын
Thor?
@issamramdani825
@issamramdani825 5 ай бұрын
How is the Odin project going for you? did you finish it ?
5 ай бұрын
@@issamramdani825 I haven’t finished it yet! Still a LOT to learn, but I know I’m improving everyday with TOP.
@Codebyakshay
@Codebyakshay 20 күн бұрын
Am i missing something? Whats odin project bro explain
@parvejshahlabib9167
@parvejshahlabib9167 18 күн бұрын
I am here for 2nd times from the odin projects after two year doing the same things😅
@AlexBlack-xz8hp
@AlexBlack-xz8hp 2 жыл бұрын
This was incredibly useful. I've been using Flex box for ages, but never understood several aspects you covered. Thank you very much for this.
@JaspreetSingh-ci9xs
@JaspreetSingh-ci9xs 2 жыл бұрын
Same
@vladrileynavilys
@vladrileynavilys Жыл бұрын
yup, i think it's not a big stretch to say the naming of these properties was poorly thought out, if most people are struggling to make it intuitive enough after some time of use.
@SEE_DESCRIPTION
@SEE_DESCRIPTION Жыл бұрын
Bruh he knows where a beginner gets stuck.... May ram ji keep him happy forever 😊
@ahmedtoufahi5198
@ahmedtoufahi5198 Жыл бұрын
Seeing a senior acknowledging how css can sometimes be frustrating gives me some confidence. I'm no dumb then and It will get better lol
@TechnicolorMammoth
@TechnicolorMammoth 2 жыл бұрын
Definitely part of the, “been using this for years…didn’t really understand the how”, which absolutely bugs me. I hate not understanding how something works. Honestly to a detriment as I’ve gone through so many resources wasting the most precious resource: time. I’ve been using HTML and CSS a long time, but your videos are really helping me fill-out and polish those skill sets in a productive and efficient manner!
@WhatsMyNameAgain93
@WhatsMyNameAgain93 2 жыл бұрын
The timing of me seeing this couldn’t have been better. Your channel is AMAZING for explaining CSS and realising how great it can be
@haibaidzokwomandre1468
@haibaidzokwomandre1468 2 ай бұрын
I am taking the Meta frontend on coursera and fullstack open by uni of Helsinki but I always refer to TOP to get a deeper knowledge on fundamentals. Thanks for this great content.
@parvejshahlabib9167
@parvejshahlabib9167 18 күн бұрын
Hey there, I following the TOP and it's excellent. Can you tell me what do after finishing TOP
@giulyanv
@giulyanv 2 жыл бұрын
Hey Kevin! I'm starting to learn everything about web development and your channel is helping me out a loooot! I would like to thank you for such an extremely good content. You're really fun while teaching!
@user-jm5lr8xc5z
@user-jm5lr8xc5z Жыл бұрын
I love your style of explaining how those things works. Most other people just show what you can do, but never touch the subject of why it works or doesn't. Really helps the understanding.
@chenellesgameplays
@chenellesgameplays Жыл бұрын
It's thanks to your videos that I am still this invested in learning CSS without being terribly frustrated. Every time there is a mess in my head about something I just look at your videos and I am back on track with clear understanding of the subject! Truly grateful for your help :)
@kanavchopra7333
@kanavchopra7333 2 жыл бұрын
Best video on YT for flexbox. This video is even better than your older videos. Thanks Kevin.💯💯💯
@ciano8999
@ciano8999 2 жыл бұрын
This was super helpful. I have started a software developer course and have been finding it a bit confusing when it comes to flex. Seems much more straightforward now thanks.
@kenmken
@kenmken 2 жыл бұрын
Really excellent video. I find CSS content explaining the underlying mechanics of different rules like this are very lacking. It's mostly just how to achieve a certain style/layout and you have to figure out the mechanics along the way. This type of content is priceless
@bonenintomatensaus
@bonenintomatensaus Жыл бұрын
content-type: priceless!important
@godwinolokor9372
@godwinolokor9372 Жыл бұрын
This is honestly the best explanation about flexbox I have seen. Thanks Kevin.
@cxdimarco
@cxdimarco 2 ай бұрын
This just clarified some big issues that I was having with Flexbox - mainly not responding how I expected it to. Thanks so much, Kevin!
@leodelcastanher
@leodelcastanher 2 жыл бұрын
It doesn't matter how much I think I know about something. Everytime I watch a Kevin Powell video I lean something new! Keep up being our Front-End dude!
@ABUHMOSES
@ABUHMOSES Жыл бұрын
i love the simplicity of your work, i understood a lot even as a beginer
@adetorofatiha7194
@adetorofatiha7194 Жыл бұрын
Thank you so much kevin. I've been strugging with flex box for a while now and this really helped me.
@Zach-rw6jf
@Zach-rw6jf 2 жыл бұрын
Thank you so much! I've primarily been a backend developer and my latest project is requiring more front end work. This just solved many of my problems.
@BUGPLAYS
@BUGPLAYS Жыл бұрын
By far the best source of information of any kind when it comes to flexbox. I've been trying to learn it for the last 3 or so weeks and every time I think i start to get it, flex starts going crazy and I become lost again.
@GR_BackingTracks
@GR_BackingTracks Жыл бұрын
When I'm supposed to be applying for work, I watch educational videos, and that is when I learn the best... Thanks, Kevin!
@carlingrant7389
@carlingrant7389 Жыл бұрын
This is great. This explanation somehow covered a lot of information but was still so simple.
@Manas-co8wl
@Manas-co8wl 5 ай бұрын
You taught me so much about flex I feel like I can almost program the behavior elsewhere. Thank you so much
@Eltonlin1998
@Eltonlin1998 2 ай бұрын
This is incredible, not just the visuals, but the words too e.g. "they start off at with the same width, they grow/shrink at the same RATE, so they end up with equal size"
@waardal
@waardal 2 жыл бұрын
Great video Mr. Kevin, I'm glad we have such a nice person here! Helped me so much.
@johnsondev169
@johnsondev169 6 ай бұрын
The video is amazing! I keep coming back to watch this video every once in a while to make sure my understanding of flexbox is correct.
@benderbg
@benderbg Жыл бұрын
Amazing 30 min of Flexbox basics. Cheat sheet is great as well. Thanks Kevin!
@RVilkaitis
@RVilkaitis Жыл бұрын
Oh my god, that helped me a lot. Im just beginning my journey and i was stuck on flexbox because i knew how important it is to understand it, now its all clearer. Thanks !
@JaradDeLorenzo
@JaradDeLorenzo Жыл бұрын
I've never dreamed Fred Armisen could teach me so much about flexbox ! This was extremely well done. Thank you sir.
@abouzarazarpira6198
@abouzarazarpira6198 2 жыл бұрын
by far the best flexbox tutorial I've seen so far
@christopherpink842
@christopherpink842 2 жыл бұрын
WOW!!!! literally i was building a website and having issue with flexbox, and this video answered the WHY certain things was not happening THANK YOU VERY MUCH
@CoconutwCoco
@CoconutwCoco Жыл бұрын
This is exactly what I want to hear when I am seeing display flex does its thing! I have been checking but u r the one tells the fundamental abt it! Got me excited to clear a confusion n know in depth!
@burakarslan24
@burakarslan24 Жыл бұрын
I had been struggling with understanding flex box until I came across your channel .Thank you for this incredibly useful video :)
@bl7937
@bl7937 2 жыл бұрын
All of your videos are extremely helpful and greatly appreciated!
@neurofit862
@neurofit862 2 жыл бұрын
GREAT TUTORIAL!! Super useful. I am doing your conquer responsive desing challenge and It works amazing too. Thanks a lot Kevin :)
@garyenglish1221
@garyenglish1221 2 жыл бұрын
You are an absolute star. Thank you SO much for all of your wonderful tutorials.
@liliponds
@liliponds 2 ай бұрын
TOP - Adding my first ever comment on KZbin, maybe I was saving it for a special moment - here it is - for The Odin Project(TOP) community. It is great to see everyone making progress, at their own pace but moving forward together, best of luck!
@saco1980
@saco1980 2 жыл бұрын
Thanks Kevin! Really enjoy your videos, and the way you explain things.
@prophetnozza4150
@prophetnozza4150 10 ай бұрын
I'm doing a diploma boot camp in web development, your guided videos help me without end! Clear, depth, concise and to the point! Thank you!
@drawdownwind6636
@drawdownwind6636 Жыл бұрын
This tutorial cleared up alot of the issues I've been having! Thanks!!!
@Soulja2x69
@Soulja2x69 Жыл бұрын
This is the style of teaching I've been craving! You have just become my mentor 😁
@janebenson9205
@janebenson9205 Жыл бұрын
Thank you for bringing clarity to Flexbox!
@askhatarslanov6327
@askhatarslanov6327 2 жыл бұрын
Oh, thank you for starting and ending points. It's really helpful!
@mueblenudecarpinteriacancu8616
@mueblenudecarpinteriacancu8616 2 ай бұрын
how does this video only have 22k likes!??!?! kevin oure tha mastah of the mastah's thanks for all your videos!.... and TOP fellas hang in there and keep grindin!
@vona5251
@vona5251 11 ай бұрын
Thanks a lot Kev, this is Khani from South Africa, I am a graphic design tutor and I was recently given web development to teach, your videos have really been helpful. I am a subscriber and I wish to enroll in one of your courses in the near future.
@PhilWilkinsonMusic
@PhilWilkinsonMusic Жыл бұрын
This was a really fantastic tutorial, so well explained. Big thanks for that!
@DCDLaserCNC
@DCDLaserCNC 2 жыл бұрын
This was a great tutorial! You explained everything very well. Thank you!
@agustinvis5720
@agustinvis5720 Жыл бұрын
I watched A LOT of videos about flexbox. This is, by far, the best video about flexbox I had ever seen. You explained everything one always wants to know about why everything works the way it does (I'm sure there's more to explain, but this video deserves 5 stars). Thank you very very much, and congratulation on you great channel. I watch this channel a lot.
@Kr0n3kLe
@Kr0n3kLe 5 ай бұрын
This explanation was so good, thank you!
@sharlayoub
@sharlayoub 2 жыл бұрын
This incredibly useful and clear. Thank you for the explanation!
@cameronkuom8168
@cameronkuom8168 Жыл бұрын
Thank you Kevin! This video was very helpful and helped me wrap my head around flexbox as a concept.
@izzyberaja4939
@izzyberaja4939 2 жыл бұрын
Great video again Kevin! Would love to see a video about css styles in something like React Native since they have a ton of default css values and a lack of some css properties
@Berbipedia
@Berbipedia 2 ай бұрын
Hey Kevin, I wanted to thank you directly for this video. I was struggling to understand some concepts of Flex. Currently I'm on my path to become a FS Developer. And you helped me SO MUCH with this one. I can't thank you enough. I'm another Odin Project fellow by the way. Keep these great videos coming!
@lilyshevchenko7048
@lilyshevchenko7048 Жыл бұрын
You're a gentleman and a scholar, good sir. Ive always hated CSS but recently wanted to get back into more of the frontend line of work and deeply understand all the properties and when/how to pick them instead of wildly throwing darts and hoping they would stick. I have to say nothing really made it land as well as your videos. Deepest gratitude. You have a real knack for teaching! 🙏
@waleedmumtaz
@waleedmumtaz 2 жыл бұрын
Learned a lot from this one. Thanks Kevin! ❤️
@zainraad7862
@zainraad7862 2 жыл бұрын
I just love the decent amount of effort you put into your videos. Such a high quality content!
@hassanmoechtar
@hassanmoechtar 10 ай бұрын
Thanks! I'm doing a home course Front-End Development, your video made me understand the basics better.
@MattNasty
@MattNasty Жыл бұрын
Wow, this video is top shelf 👏 thank you for spending the time to create this simple breakdown.
@ranjoyguhathakurata5650
@ranjoyguhathakurata5650 2 жыл бұрын
Absolute joy and pleasure. One who loves flexbox can understand this feeling.
@adrianpabloalvarez2523
@adrianpabloalvarez2523 Жыл бұрын
Definitely helped to come into peace with CSS. Very good video. Thank you!
@aamiramin6112
@aamiramin6112 2 жыл бұрын
Thank you for making such an amazing content. I have learned so much from you.
@MichaelSoriano
@MichaelSoriano Жыл бұрын
This is prob the best flex box tutorial I’ve seen
@renebesicke
@renebesicke 2 жыл бұрын
Very helpful! Had exactly one of the issues you mentioned here some days before. Fixed it, but thanks to this video I hopefully never get this issue again. Thank you. :D
@adegboyegablessingolamide4147
@adegboyegablessingolamide4147 Жыл бұрын
Very insightful... In my experience with flex, I have usually focussed on the parent properties and not the likes of shrink, grow, order, etc that you touched... Thanks...
@eumm11
@eumm11 2 жыл бұрын
Thank you so much, everytime time I watch you I learn something new!
@Skipthedrive
@Skipthedrive 10 ай бұрын
Great explanation of Flexbox. Thank you!
@jackc.5271
@jackc.5271 Ай бұрын
I've been stuck on a flex exercise in TOP for almost a week now, was searching for solutions and found this video. Half an hour after watching, I completed the exercise almost flawlessly. Thank you good sir.
@silasowu4502
@silasowu4502 Жыл бұрын
Rich content, Kevin. I just relearned it again and even recommended it. Thanks a lot
@_ata_3
@_ata_3 Жыл бұрын
Thank you for this. It helps to clear flex a lot.
@agustinernestocardeilhacba2995
@agustinernestocardeilhacba2995 Жыл бұрын
bro... My day to day involves more backend stuff but you have css in your veins... its looks you really love it !...
@mrgp9
@mrgp9 10 ай бұрын
Thank you for your videos helps me a lot. I also want to say that u really looks like a good guy, geting really positive vibes from you and your videos, which makes it even more fun to learn 😄
@girirajtomar519
@girirajtomar519 2 жыл бұрын
Thanks kevin for such a great video. Keep teaching us like that.
@unblemished_
@unblemished_ 2 жыл бұрын
Thank god you exist, and thank you for making it so understandable. Appreciated!
@user-yz2jq8pl3m
@user-yz2jq8pl3m 7 ай бұрын
Thank you Kevin, this video was really helpful for understanding flexbox better.
@codex_js962
@codex_js962 2 жыл бұрын
Thank you Kevin for this very helpful explanation.
@pioleonardo
@pioleonardo Жыл бұрын
perfect explanation. I can now teach this to students. thank you Kevin!
@Furki4_4
@Furki4_4 Жыл бұрын
Thank you Kevin, I really feel that I understand how flex works first time.
@edgarv9035
@edgarv9035 2 жыл бұрын
Thanks a lot for this. You have made it simple and clear to understand
@boheeatelier6681
@boheeatelier6681 5 ай бұрын
such great tutorials, glad I found your channel, thank you!
@surajghimire7107
@surajghimire7107 Жыл бұрын
Just cleared all my doubts. Thank you very much, wizard !!
@iamreg1965
@iamreg1965 2 жыл бұрын
Brilliant video Kevin. Giving real world examples of the inner workings is a real help to getting under the skin of CSS Flex. Keep up the good work mate. Merry Xmas and a very Happy CSS New Year.
@MelodicMethod
@MelodicMethod 9 ай бұрын
wow, I can't believe you made this understandable. hats off to you, good sir!
@suvraneelsaha7857
@suvraneelsaha7857 6 ай бұрын
Golden content , thanks Kevin . Took notes too !!
@Burnnskii_Gaming
@Burnnskii_Gaming 2 жыл бұрын
perfect timing on this for me! just finished your playlist with the 3 flexbox videos. i learned more from you in those short videos than a $130 udemy course. hero status.
@daleryanaldover6545
@daleryanaldover6545 2 жыл бұрын
most udemy courses are beginner even tho they tag it as intermediate. I highly recommend css-tricks if you haven't learned about it yet.
@laxmiprasanna4092
@laxmiprasanna4092 2 жыл бұрын
@@daleryanaldover6545 you bought a udemy course for $130 ? I alwayd bought them for only $9
@ahmadzenji6559
@ahmadzenji6559 2 жыл бұрын
@@laxmiprasanna4092 u guys buy udemy courses??
@senrign
@senrign 2 жыл бұрын
lol never pay full price to udemy courses :D
@natarajanraju4198
@natarajanraju4198 5 ай бұрын
Doing a great work Kevin. More power to you
@Haibrayn42
@Haibrayn42 6 ай бұрын
thanks for helping me oot understanding flexbox!
@thechimaobii
@thechimaobii Жыл бұрын
This has been soooo helpful. Thank you!
@childish_gambino
@childish_gambino Жыл бұрын
This really helped. Thank you!
@dinckelman
@dinckelman 2 жыл бұрын
Kevin out there asks, completely unironically, why his metrics are through the roof this year, and then posts videos like this. That's why. Topic explained clearly, step by step, with examples, and reasoning. What else could you want?
@shadowx7286
@shadowx7286 Жыл бұрын
Exactly what I was looking for. Thank you
@TreyDavis0018
@TreyDavis0018 2 жыл бұрын
Love the CGP Grey shirt, Kevin! Your content has gotten me into CSS
@solshine972
@solshine972 10 ай бұрын
This was incredibly helpful, thank you!
@vnm_8945
@vnm_8945 2 жыл бұрын
on every video u made and I thought I know about the subject there is something I learn. Thank you for your videos!
@Tech-Dev
@Tech-Dev Жыл бұрын
Cheers Kevin for this tutorial.
@bulatvitalie8170
@bulatvitalie8170 2 жыл бұрын
Just awesome and clear. Thanks Kevin.
@Vampirat3
@Vampirat3 5 ай бұрын
Man , wow , top on search results , not asking for money , AND you gave a code pen ? Thank you !
@odysseus277
@odysseus277 2 жыл бұрын
Really, really helpful! Thanks, Kevin.
@kbrodeur
@kbrodeur 2 жыл бұрын
you did a great job on this. very entertaining and useful, man.
@benjaminlehmann
@benjaminlehmann 23 күн бұрын
Thanks for the this. Really clear and really helpful
Flexbox or grid - How to decide?
18:51
Kevin Powell
Рет қаралды 691 М.
Learn CSS Grid the easy way
37:04
Kevin Powell
Рет қаралды 860 М.
Can You Draw The PERFECT Circle?
00:57
Stokes Twins
Рет қаралды 55 МЛН
Зомби Апокалипсис  часть 1 🤯#shorts
00:29
INNA SERG
Рет қаралды 6 МЛН
Flexbox Crash Course 2024
46:54
Traversy Media
Рет қаралды 411 М.
23 CSS features you should know (and be using) by now
31:31
Kevin Powell
Рет қаралды 50 М.
It's time for a change...
4:11
Kevin Powell
Рет қаралды 54 М.
I've been challenged to a CSS BATTLE by Web Dev Simplified
42:22
Kevin Powell
Рет қаралды 946 М.
How to take control of Flexbox
16:01
Kevin Powell
Рет қаралды 80 М.
Are you using the right CSS units?
6:30
Kevin Powell
Рет қаралды 437 М.
Write less code with these 5 CSS tips
15:38
Kevin Powell
Рет қаралды 40 М.
Learn Flexbox CSS in 8 minutes
8:16
Slaying The Dragon
Рет қаралды 1,3 МЛН
I never thought of using CSS animations like this before!
10:28
Kevin Powell
Рет қаралды 60 М.