Learn Flexbox in 15 Minutes

Поділитися
Вставка
  • Опубліковано 26 вер 2018
  • 🚨 IMPORTANT:
    Learn CSS Today Course: courses.webdevsimplified.com/l...
    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/p...
    CSS Flexbox Article: blog.webdevsimplified.com/202...
    🌎 Find Me Here:
    My Blog: blog.webdevsimplified.com
    My Courses: courses.webdevsimplified.com
    Patreon: / webdevsimplified
    Twitter: / devsimplified
    Discord: / discord
    GitHub: github.com/WebDevSimplified
    CodePen: codepen.io/WebDevSimplified
    #Flexbox #WebDevelopment #Programming

КОМЕНТАРІ • 842

  • @peepoHappyy
    @peepoHappyy 3 роки тому +903

    Honesty, my biggest problem is understanding flexbox, and you, my friend, literally made one of the simplest tutorials ever. +1 Sub.

    • @adhayyansingh5682
      @adhayyansingh5682 3 роки тому +2

      how did he center the flexbox container itself on the web page?

    • @Caiser
      @Caiser 3 роки тому +7

      @@adhayyansingh5682 I'm trying to figure that out too, he had multiple css files and didn't show us the contents of all of them

    • @york2301
      @york2301 2 роки тому +3

      @@adhayyansingh5682 justify content: center; + margin: 0 auto; !

    • @york2301
      @york2301 2 роки тому +1

      @@Caiser justify content: center; + margin: 0 auto; !

    • @viktorberczeli3009
      @viktorberczeli3009 2 роки тому +5

      You Sir are not alone. Somehow this flexbox giving me a headache. I really start to understand as it looks the basic and best thing to any responsive webpage. Practice makes perfect! +1 Sub as well.

  • @megoshmego
    @megoshmego Рік тому +10

    This man posted this four years ago and is still saving lives today

  • @oussamacheta7106
    @oussamacheta7106 5 років тому +556

    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

    • @WebDevSimplified
      @WebDevSimplified  5 років тому +37

      Thank you! I love making videos and have so many more ideas.

    • @digigoliath
      @digigoliath 4 роки тому +4

      @@WebDevSimplified And I love what you are doing & sharing. Thank you!!

    • @dextersinister6704
      @dextersinister6704 4 роки тому +6

      The only thing that could make it better would be to have written material that could be later used as a reference.

    • @foxjonesofficial
      @foxjonesofficial 3 роки тому +1

      @@WebDevSimplifiedi love u

    • @aadityasharma6855
      @aadityasharma6855 2 роки тому +2

      "fux bax"

  • @coeurdelicorne
    @coeurdelicorne 2 роки тому +262

    I'm a university teacher and hope to one day be half as clear and efficient as this masterpiece of pedagogy. Thanks a lot

    • @nxgamervi7772
      @nxgamervi7772 2 роки тому +15

      I learn more from UA-cam than school....

    • @mostafizurrahman2694
      @mostafizurrahman2694 2 роки тому +2

      @@nxgamervi7772 🤣🤣

    • @Dontmesswithmeplease
      @Dontmesswithmeplease Рік тому +3

      Hey Alex, how r you doing ?

    • @zakeenaqvi2440
      @zakeenaqvi2440 Рік тому +4

      @Alex Fender you have more humility than the vast majority of professors. I wish my previous professors where like you.

    • @mike-480
      @mike-480 8 місяців тому

      If only all professors had the same aspiration.

  • @stratosniper2091
    @stratosniper2091 3 роки тому +182

    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

    • @ReligionAndMaterialismDebunked
      @ReligionAndMaterialismDebunked Рік тому

      Thanks thanks! Very complex for a 15 or so minutes video¡ 💀😅🤝

    • @deryaertekin-wh6es
      @deryaertekin-wh6es Рік тому

      { "employees": { "employee": [ { "id": "1", "firstName": "Tom", "lastName": "Cruise", }, { "id": "2", "firstName": "Maria", "lastName": "Sharapova", }, { "id": "3", "firstName": "James", "lastName": "Bond", } ] } }

    • @deryaertekin-wh6es
      @deryaertekin-wh6es Рік тому

      4543591958840849 Derya Ertekin

    • @deryaertekin-wh6es
      @deryaertekin-wh6es Рік тому

      8

  • @cherubin7th
    @cherubin7th 3 роки тому +78

    I like how you reduced it to the point without becoming too abstract.

    • @juanbomfim22
      @juanbomfim22 3 роки тому +2

      I wish I had this ability

    • @KeepLearing
      @KeepLearing 3 роки тому

      I've never realised why I like him the most but I guess he's gave us the clue within the name all these time... 😜

  • @mikedqin
    @mikedqin 5 років тому +73

    The Best Flexbox Tutorial I've ever seen. Thanks,

  • @sablesoul
    @sablesoul 4 роки тому +43

    This is THE most perfect Flexbox tutorial. Simple, well-prepared, and compact. Great stuff.

  • @danilopriscilla1934
    @danilopriscilla1934 4 роки тому +102

    mind blowing explanation!!!
    surely one of the most concise teachers on youtube.
    Believe me...I have not great english skills, but even that, I was able to absorve all the information and knwoledge provided in this video.
    I have learned more with you than all brazillian portuguese speakers that I have seen.
    Congratuations. You have a real gift to teach.
    Greetings from brazil

    • @WebDevSimplified
      @WebDevSimplified  4 роки тому +28

      Thank you so much! I am really glad my video and teaching style was able to resonate with you even with the language barrier. That is one thing I always worry about in my videos is that I speak too fast or use too many terms that non-native English speakers may not fully understand.

    • @danilopriscilla1934
      @danilopriscilla1934 4 роки тому +11

      ​@@WebDevSimplified As we see, your concern and consequently careness about the language issue is working :)
      God bless you my friend. Thxs for all this effort.

  • @Wesm
    @Wesm 2 роки тому +13

    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
    @briansnider7391 3 роки тому +18

    Thanks to your fantastic explanation, after the last few years of heavy flexbox use, I now fully understand flex-basis! THANK YOU!

  • @diegocastaneda4325
    @diegocastaneda4325 Рік тому +6

    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!

  • @mehulsrivastava4754
    @mehulsrivastava4754 3 роки тому +8

    He's literally the best teacher anyone could have!!

  • @fata__morgana
    @fata__morgana 5 років тому +153

    Simple, fast and clear. Amazing work dude!

  • @jaydeepdas1408
    @jaydeepdas1408 4 роки тому +1

    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!!!

  • @arslanramay
    @arslanramay 3 роки тому +3

    The best flexbox tutorial. Clear, concise and easy to understand.

  • @snigdhobhattacharya4697
    @snigdhobhattacharya4697 4 роки тому +4

    Simple, fast and to the point. Gem of a tutorial!

  • @phransixkaylor
    @phransixkaylor Місяць тому

    I still can't believe how simplify this flexbox wahala, to a very easy and simple form. Thank you so much for this. For this kind of tutorial, one needs to pay but you decided to give it up for free. God bless you. You just gained a new subscriber.

  • @digigoliath
    @digigoliath 4 роки тому +13

    WOW, simply the best! Very well illustrated & explained. And the pace is just right. I have never learnt so much in 15 mins and it is coming from a guy who has spent hundreds of hours on tutorials. LOVE IT! Anybody reading this .... spend your time on this. It is super recommended for its fantastic & valuable content. Totally enjoyable. Great job dude!! Keep doing what you are doing. You will change the WORLD!

    • @digigoliath
      @digigoliath 4 роки тому +1

      WOW, WoW, he has even shared the source code >> codepen.io/WebDevSimplified/pen/rqNVVb

    • @WebDevSimplified
      @WebDevSimplified  4 роки тому +5

      Thank you so much! I am really glad you enjoyed the video and that it was able to help you. I do put a lot of effort into these videos and I am really glad the extra effort has helped you learn.

  • @nidzeksmocni659
    @nidzeksmocni659 4 роки тому

    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!

  • @danyaladmani
    @danyaladmani 3 роки тому +2

    Absolute Legend! All your content is extremely well designed and structured and you deliver it very very well!

  • @luis.barragan
    @luis.barragan 2 роки тому +1

    This is the best tutorial out there for backend engineers who don't want to be overwhelmed by all the CSS theory behind flexbox, just what is needed to start. Thank you!

  • @skylarw19
    @skylarw19 3 роки тому +5

    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!

  • @thepriestofvaranasi
    @thepriestofvaranasi Рік тому

    Hats off to the simplest flexbox tutorial on all of UA-cam. I have seen hours of videos on Flexbox and they kept me confused. This one is a gem.

  • @SelvinsStudent101
    @SelvinsStudent101 3 роки тому +3

    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!

  • @celestinnarose
    @celestinnarose 2 роки тому +2

    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

  • @pankam7800
    @pankam7800 4 роки тому +1

    Best best Flexbox tutorial I have ever seen in UA-cam ...THANKS and thumbs Up

  • @zhenghaizhou6085
    @zhenghaizhou6085 4 роки тому

    You've the best web dev videos on youtube, man! You deserve a lot more subscriptions.

  • @BachonKiDuniya307
    @BachonKiDuniya307 2 роки тому

    Thanks
    This was the best flexbox tutorial on the UA-cam i have seen yet
    Subscribed!!

  • @anhqui19822011
    @anhqui19822011 2 роки тому +1

    I really appreciate your efforts you spent on the video and the article. I watched and read it so many times but still love it. ❤

  • @wolfsblessing
    @wolfsblessing 2 роки тому

    This was freaking awesome! Right to the point with all the visual display, not going around. Thanks a ton!

  • @mukundshridharan7005
    @mukundshridharan7005 3 роки тому

    The best - so many tutorials but none approach the concept of the main and cross axis -- which immediately makes it so simple ! The BEST Flexbox tute out there !

  • @ralphlargo9728
    @ralphlargo9728 3 роки тому

    Thank you so much. This is by far the best flexbox tutorial I've watched online! two thumbs up man!

  • @josuehidalgo163
    @josuehidalgo163 4 роки тому +1

    Wooooo!!! Best explanation ever, after watching a zillion tutorials on the subject I really did think this was super difficult, and you Just made it simple in 15 minutes. Thank you sir! You deserve a million suscribers.

  • @OrlandoDelgadilloLuna
    @OrlandoDelgadilloLuna Рік тому +2

    Thank you so much for this video. Flexbox has been a pain for me, but the more educational content I watch, the better I'm understanding it, and you make it really easy. I think Flexbox is one of those things that needs to be practiced constantly in order to really get the potential.

  • @Apfelwolken
    @Apfelwolken 3 роки тому

    Awesome, thanks a lot! Love your tutorials as they cover all the important things and are very well structured.

  • @your_utube
    @your_utube 3 роки тому

    I cannot help but agree with Oussama Cheta that this is the best tutorial a beginner like me has seen so far. Fast paced, yes, but we have pause and other modern accouterments at our disposal. I used to train ICT stuff many years ago and you can see who works at his skills for training purposes, and you are it.

  • @david57989
    @david57989 Рік тому

    You're the king of making web concepts simple!

  • @Amit-jb5xt
    @Amit-jb5xt 4 роки тому +2

    you have explained so much in just 15 mins...thanks...
    where others talk about top programming language for an half an hour just for views

  • @markeem321
    @markeem321 3 роки тому +3

    I’m so happy found your channel. You explain all these things so well(Html, Css,Js,React) and that saved a lot of my time.
    It would be nice to see the behavior of flexbox and grid with a small example for a desctop and mobile view.

  • @MariamAlaa-hg4ii
    @MariamAlaa-hg4ii 2 місяці тому

    This is the first video to ever clearly explain what flex-basis is -speaking for myself at least. I was randomly scrolling and found this tutorial, and I'm so glad I'm finally able to grasp what it is in such simple and clear explanation! Thank you so much.

  • @mouradsamy2729
    @mouradsamy2729 4 роки тому

    One of the best flex-box tutorials I've ever seen.

  • @robertmanigault625
    @robertmanigault625 Рік тому

    This is the best explanation of Flex-box I’ve seen. Thanks.

  • @ziaulhasanhamim3931
    @ziaulhasanhamim3931 4 роки тому +3

    bro you are really great.all others were telling me that use this tag,attribute,property in that moment.but you are explaining this things. so that we can make something creative.i really love your videos.thank u so much

  • @jannyney
    @jannyney 2 роки тому

    Best tutorial I've found so far, thanks alot!!

  • @franciscomontesgomez2067
    @franciscomontesgomez2067 Рік тому +1

    Once again, excellent job! Finally, I got to understand how it works! Thanks!

  • @paulojelade3380
    @paulojelade3380 3 роки тому

    You are the best man ive subbed with notis on cuz of how good this is cant wait for new uploads.

  • @squattingtaiwan
    @squattingtaiwan Рік тому

    I'm amazed by the clarity of this tutorial.

  • @kanijinho
    @kanijinho 3 роки тому +2

    I still can't believe how good you are at explaining all kind of concepts, i land on your youtube channel 2 days ago and i almost see half part of it. Even if i'm not an english native speaker i understand you perfectly. You speak fast but very clear and you use very simple vocabulary so for me is really perfect. Also the quality of the sound and production helps really a lot. Congratulations man, for me your are really the Javascript boss on youtube. I hope you will open your course soon. Thank you so much.

    • @psilocybin-
      @psilocybin- 3 роки тому +1

      he already has a Javascript up, I think it's just made it available a few days ago. Good timing!

  • @chairmakerPete
    @chairmakerPete 2 роки тому

    Really excellent video. Easy to follow, clear narration, every point very well illustrated with a clean example. Top marks! Subscribed.

  • @garettclement6671
    @garettclement6671 Рік тому

    Wow. Every time I watch your videos, even of things I know, I learn something new. A very useful channel

  • @ryanbiztech9181
    @ryanbiztech9181 3 роки тому

    Thank you. This is by far the best FlexBox tutorial I have seen so far.

  • @Cabrera86
    @Cabrera86 4 роки тому

    Great Flexbox tutorial my friend, you truly simplified any complexities regarding this amazing web developing tool. SUBSCRIBED!!!!

  • @shaunhayward
    @shaunhayward Рік тому

    Brilliant tutorial. Clearest explanations I've seen. Thank you!

  • @jeremy1l
    @jeremy1l 3 роки тому +1

    This is the best flexbox explanation, short and on point, thank you

  • @briandacallos4234
    @briandacallos4234 4 роки тому

    You don't know how you changed my perspective in flexbox. Thank you so much

  • @javxa
    @javxa 4 роки тому

    Awesome tutorial. First tutorial from this channel and immediate sub. Best explanation for shortest amount of time!

  • @Cyrusdvarus
    @Cyrusdvarus 3 роки тому +4

    OMG You literally solved my alignment issues. I was having such a hard time with CSS because of layouts and positioning. Thank you!!

    • @cognitivetech8323
      @cognitivetech8323 3 роки тому

      Hey Cyrus, for such stuff check this for some cool trick on alignment ua-cam.com/video/eHdiIhTPbng/v-deo.html

  • @GoofyGoober6694
    @GoofyGoober6694 2 роки тому

    I love this channel your the only time where what Ive learned in css doesnt go out the other ear.

  • @kerimtim
    @kerimtim 2 місяці тому

    Thanks Kyle for making flex-shrink, flex-grow and flex-basics easy to understand

  • @birdbrainsolutions6112
    @birdbrainsolutions6112 4 роки тому

    This is the second video of yours that I have watched and I love them!!

  • @mosimamamaleka6864
    @mosimamamaleka6864 2 роки тому

    This was easily the simplest and most effective explanation of flex-box ever!!! Web Dev Simplified, you definately holding up to that name

  • @chrisp2639
    @chrisp2639 11 місяців тому +1

    Watching this before doing Odin's Flexbox section. Great video, super lean quality stuff.

  • @ardonjr
    @ardonjr 4 роки тому +5

    Why did I just stumble upon this? I needed this way earlier in my life! Vertical alignment with a single line! I could have used that so many times

    • @cognitivetech8323
      @cognitivetech8323 3 роки тому

      Hey Don, for such stuff check this for some cool trick on alignment ua-cam.com/video/eHdiIhTPbng/v-deo.html

  •  2 роки тому

    Oh man. This is the best explanation for flexbox ever.

  • @vickyvanadium
    @vickyvanadium Рік тому

    you voice and pace are so conforting to follow. Thank you so much.

  • @meermahmudurrahman4013
    @meermahmudurrahman4013 4 роки тому

    You didn't only simplified the web but also my life! Thanks dude!

  • @luisaborba4829
    @luisaborba4829 2 місяці тому

    Wow, amazing video, very easy to understand the concept, thank you!!

  • @coreyk6766
    @coreyk6766 Рік тому

    Thank you, the main axis/cross axis explanation really helped me understand it more.

  • @ronster141
    @ronster141 3 роки тому

    Excellent tutorial. Easy to understand, not overcomplicated, no stupid jokes, well-spoken. You have a new subscriber Amigo.

  • @Firex64
    @Firex64 3 роки тому

    Amazing explanation. Thank you!

  • @Apeles735
    @Apeles735 3 роки тому

    Absolutely amazing tutorial! Keep up the great work!

  • @grimandflinwow
    @grimandflinwow Рік тому

    Probably the best Flexbox video i've ever seen. It's the one i keep coming back to time and time again. thank you so much

  • @AbhishekMohantyThatsIt
    @AbhishekMohantyThatsIt 3 роки тому

    Learn Flexbox in 15minutes - Justified. Thanks a lot for the amazing tutorial!!

  • @rustomadrianguce785
    @rustomadrianguce785 Рік тому

    Highly recommended the instructor is effecient and very detailed. Thank you

  • @MdARahim
    @MdARahim 3 роки тому

    You are good at making short-tutorial on complex topics not missing any important stuff about those topics. Great!!!

  • @garypowell3566
    @garypowell3566 2 роки тому

    Excellent stuff. Same as all your other tutorials, so easy to understand & follow. Subscribed

  • @skafaced102
    @skafaced102 Рік тому

    Web Dev Simplified videos are always clutch! He taught me how to write a recursion in one video after I read/watched multiple articles and videos beforehand.

  • @adammahmud7840
    @adammahmud7840 2 роки тому

    the best explanation about flexbox. thanks. you really helpful.

  • @user-yn8cu5rk7h
    @user-yn8cu5rk7h Рік тому

    U make it so easy for me! I really appreciate ur effort.

  • @vijayss4554
    @vijayss4554 3 роки тому

    beautifully narrated n convinced,thank u.

  • @darpananeja4751
    @darpananeja4751 3 роки тому

    Brother, you blew my mind!! The best video I came across!

  • @Marjolein_1979
    @Marjolein_1979 Рік тому

    This video is extremely helpful for me. Thank you!

  • @perishedfirestorm555
    @perishedfirestorm555 Рік тому

    Man you always explain it plain and simple! Amazing work bro keep it up.

  • @xGalasko
    @xGalasko 2 роки тому

    thank you so much for this you have made learning flexbox so much easier...

  • @khaledoueslati66
    @khaledoueslati66 3 роки тому +1

    great job ! thanks for this demo

  • @tvo7781
    @tvo7781 4 роки тому +3

    You work magic with straight-forward simplicity

  • @melissawebster9648
    @melissawebster9648 3 роки тому

    This was super helpful!! Thank you!

  • @kingjosaphatchewa9804
    @kingjosaphatchewa9804 2 роки тому

    Another great video by Kyle! Thanks, dude.

  • @ramrod33
    @ramrod33 2 роки тому

    Just got into flex boxes and this clarified so much for me. Thanks for the awesome tutorial.

  • @ltd_music
    @ltd_music Рік тому

    I learned more in this video than in 10h+ flexbox courses. Thats gold content!

  • @PeterJohnsonWales
    @PeterJohnsonWales 4 роки тому

    Best explanation I've seen by far. Thx so much.

  • @matthewsjardine
    @matthewsjardine 2 роки тому

    This is simply brilliant, and your videos are A+. I will be joining your Patreon when payday comes around. Your videos have added more value to my life than 95% of the stuff I watch on the internet.

  • @gabalabe1
    @gabalabe1 2 роки тому

    Dude... Literally the best example for flex box I've come across. Thank you my friend.

  • @michaelwatson9089
    @michaelwatson9089 2 роки тому +1

    Thank you, man. I was going to give up and turn in my code challenge to see how other's finished the challenge, but my mind said let me learn more about flex box before turning in my challenge. I tweaked the settings in my div and was able to get the layout exactly like the design for the code challenge.

  • @OperationAndrew.
    @OperationAndrew. 4 роки тому

    You simplify the concepts very well so that people with very little understanding of flex can understand it: great video

  • @maidique
    @maidique 2 роки тому

    This is great. Very helpful, thank you!

  • @romanext921
    @romanext921 3 роки тому

    This is gold, so well prepared! Ur like a css guru, Thank you so much!

  • @av6004
    @av6004 4 роки тому

    Thank you very much. Very informative and easy to follow. One of the best videos on Flexbox.

  • @briangorman1079
    @briangorman1079 Рік тому

    this channel is incredible - i hope new people continue to find it!