Learn Flexbox in 15 Minutes

1,176,372
0
Published 2018-09-27
🚨 IMPORTANT:

Learn CSS Today Course: courses.webdevsimplified.com/learn-css-today

In this video we will cover everything you need to know about CSS flexbox in only 15 minutes. We will cover what flexbox is, how flexbox works, and the different properties you can use to layout and style your flexbox containers. Flexbox is one of the most important and useful layout properties in all of CSS, and is luckily quite easy to understand once you wrap your head around the terminology. We will be covering all of the terminology, by going through live examples of all the different flexbox properties.

If there is anything you feel I missed in discussing flexbox, or anything about flexbox that confused you, please let me know in the comments below.

View CodePen: codepen.io/WebDevSimplified/pen/rqNVVb
CSS Flexbox Article: blog.webdevsimplified.com/2021-11/flexbox


🌎 Find Me Here:

My Blog: blog.webdevsimplified.com/
My Courses: courses.webdevsimplified.com/
Patreon: www.patreon.com/WebDevSimplified
Twitter: twitter.com/DevSimplified
Discord: discord.gg/7StTjnR
GitHub: github.com/WebDevSimplified
CodePen: codepen.io/WebDevSimplified


#Flexbox #WebDevelopment #Programming

All Comments (21)
  • @megoshmego
    This man posted this four years ago and is still saving lives today
  • @peepoHappyy
    Honesty, my biggest problem is understanding flexbox, and you, my friend, literally made one of the simplest tutorials ever. +1 Sub.
  • @coeurdelicorne
    I'm a university teacher and hope to one day be half as clear and efficient as this masterpiece of pedagogy. Thanks a lot
  • that was the best Flexbox tutorial i've watched so far on youtube thanks so much, your channel deserves a lot more subscribers ! keep up the good work
  • Thanks for this. Been coming back to various flexbox videos but I understand it more clear here. I'm putting some timestamps here coz I believe I may go back here from time to time for quick reference 1:00 Getting Started on flex-container 2:24 Concept of Main Axis and Cross Axis 3:20 Why layout styling should be based on Main, Cross Axis not based on horizontal or vertical 3:30 Laying out elements on Main Axis 4:30 Laying out elements on Cross Axis 4:47 Keeping the size of an item / element 5:15 Last way to align item / element 5:31 flex-wrap 5:44 align-content property 6:59 Column layout 7:56 Different properties can be applied on flex items 8:25 Prevent flex item on shrinking size 8:43 Grow flex items bigger 11:33 Overriding Cross Axis Alignment 12:15 Order property 13:01 Why order property should be avoided 13:49 Things to remember 14:19 Shorthand for flex-shrink, grow and basis
  • @Wesm
    Man! You're the best one I have ever met at explaining complex programming concepts. And your channel is amazing. No annoying background music. No ignoring some important information because it's easy for you. Thanks Kyle. You really deserve the support.
  • @briansnider7391
    Thanks to your fantastic explanation, after the last few years of heavy flexbox use, I now fully understand flex-basis! THANK YOU!
  • @cherubin7th
    I like how you reduced it to the point without becoming too abstract.
  • @sablesoul
    This is THE most perfect Flexbox tutorial. Simple, well-prepared, and compact. Great stuff.
  • @jaydeepdas1408
    The way you explained was really amazing! I have learned many new things that I never saw in other videos for flex-box. Crystal-clear and to the point. Thanks a lot!!!
  • I don't always need to update and create CSS daily, but your tutorials are SIMPLY (literally) amazing! Great videos that are straight to the point. Exactly what I need when I'm looking to refresh my CSS knowledge. Thank you!
  • @mikedqin
    The Best Flexbox Tutorial I've ever seen. Thanks,
  • @skylarw19
    Awesome tutorial! Loved that you mentioned screen readers go off of the HTML order, rather than CSS order. I definitely didn't know that and think it's great to know to make sure the things we create are accessible!
  • @danyaladmani
    Absolute Legend! All your content is extremely well designed and structured and you deliver it very very well!
  • This is such a brilliant video! I was very confused about what both of these are and when they are used. This is so informative and clear. Its also amazing to learn how they work together. Thank you so much!
  • @arslanramay
    The best flexbox tutorial. Clear, concise and easy to understand.
  • @wolfsblessing
    This was freaking awesome! Right to the point with all the visual display, not going around. Thanks a ton!
  • @nidzeksmocni659
    The main reason why your videos are the best is that you try to simplify as much as possible, you make sentences shorter without additional unnecessary information(It is basically the key when teaching someone) . You are the coolest and smartest guy i've ever seen!
  • @Apfelwolken
    Awesome, thanks a lot! Love your tutorials as they cover all the important things and are very well structured.
  • @celestinnarose
    Dude, you rock!!!! Thank you sooo much for this I’m about 2 weeks in learning HTML5 and wanted a clearer explanation of using the