Learn Flexbox in 15 Minutes

Поделиться
HTML-код
  • Опубликовано: 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

Комментарии • 840

  • @peepoHappyy
    @peepoHappyy 3 года назад +897

    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 2 года назад +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 Год назад +3

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

  • @oussamacheta7106
    @oussamacheta7106 5 лет назад +552

    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 лет назад +36

      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 года назад +259

    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 Год назад +15

      I learn more from RUclips than school....

    • @mostafizurrahman2694
      @mostafizurrahman2694 Год назад +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 7 месяцев назад

      If only all professors had the same aspiration.

  • @stratosniper2091
    @stratosniper2091 3 года назад +181

    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 года назад +75

    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... 😜

  • @phransixkaylor
    @phransixkaylor 7 дней назад

    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.

  • @mikedqin
    @mikedqin 4 года назад +72

    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.

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

  • @arslanramay
    @arslanramay 3 года назад +3

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

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

  • @mehulsrivastava4754
    @mehulsrivastava4754 3 года назад +8

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

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

  • @thepriestofvaranasi
    @thepriestofvaranasi Год назад

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

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

  • @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

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

  • @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.

  • @snigdhobhattacharya4697
    @snigdhobhattacharya4697 4 года назад +4

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

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

  • @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.

  • @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.

  • @MariamAlaa-hg4ii
    @MariamAlaa-hg4ii Месяц назад

    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.

  • @pankam7800
    @pankam7800 4 года назад +1

    Best best Flexbox tutorial I have ever seen in RUclips ...THANKS and thumbs Up

  • @danyaladmani
    @danyaladmani 3 года назад +2

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

  • @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

  • @squattingtaiwan
    @squattingtaiwan Год назад

    I'm amazed by the clarity of this tutorial.

  • @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.

  • @jeremy1l
    @jeremy1l 3 года назад +1

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

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

  • @josuehidalgo163
    @josuehidalgo163 3 года назад +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.

  • @ryanbiztech9181
    @ryanbiztech9181 3 года назад

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

  • @wolfsblessing
    @wolfsblessing 2 года назад

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

  • @yotshmep1224
    @yotshmep1224 2 года назад

    Came here after going through the Odin Project, and I was so confused reading the explanation on MDN, and your video just made it so clear to me in like 10 minutes, so thank you!

  • @shaunhayward
    @shaunhayward Год назад

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

  • @briandacallos4234
    @briandacallos4234 4 года назад

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

  • @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. ❤

  • @craigj.4632
    @craigj.4632 3 года назад

    Thank you so much. Made the career switch from general software development to web dev and these videos are clear, concise, and have a lot of practical applications.

  • @ramrod33
    @ramrod33 2 года назад

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

  • @notallthatbad
    @notallthatbad 2 года назад

    Very clear instruction. Feel much better about what used to be a confusing "why do I even need this" concept. Well done!

  • @coreyk6766
    @coreyk6766 Год назад

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

  • @robertmanigault625
    @robertmanigault625 Год назад

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

  • @ralphlargo9728
    @ralphlargo9728 3 года назад

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

  • @BachonKiDuniya307
    @BachonKiDuniya307 2 года назад

    Thanks
    This was the best flexbox tutorial on the RUclips i have seen yet
    Subscribed!!

  • @vickyvanadium
    @vickyvanadium Год назад

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

  • @gabalabe1
    @gabalabe1 2 года назад

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

  • @luisaborba4829
    @luisaborba4829 Месяц назад

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

  • @franciscomontesgomez2067
    @franciscomontesgomez2067 Год назад +1

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

  • @MdARahim
    @MdARahim 3 года назад

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

  • @kathrynperry2955
    @kathrynperry2955 2 года назад

    Wow, great video. Thank you so much for taking the time to create it. I just could not wrap my mind around the concept of flex containers but now after watching your video i see how easy it is to understand.

  • @yazmat182
    @yazmat182 3 года назад

    dude, THANK YOU SO MUCH!! I''ve been a desktop developer for years, trying web based tec now and I just couldn't understand css positioning. this helped a lot!!

  • @aBeerFromHere7994
    @aBeerFromHere7994 2 года назад

    Very good and compact explanation. I had to watch some parts twice to process the information, but now I get it. Thx.

  • @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

  • @Cabrera86
    @Cabrera86 4 года назад

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

  • @ianlewin8888
    @ianlewin8888 4 месяца назад

    Thank you, this clears me a lot of confusion about flex box

  • @kerimtim
    @kerimtim Месяц назад

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

  • @GoofyGoober6694
    @GoofyGoober6694 2 года назад

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

  • @briangorman1079
    @briangorman1079 Год назад

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

  • @zhenghaizhou6085
    @zhenghaizhou6085 4 года назад

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

  • @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

  • @jannyney
    @jannyney 2 года назад

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

  • @ronster141
    @ronster141 3 года назад

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

  • @rosaprint8676
    @rosaprint8676 Год назад

    Man! You're the best one I have ever met at explaining complex programming concepts.

  • @AbhishekMohantyThatsIt
    @AbhishekMohantyThatsIt 3 года назад

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

  • @chairmakerPete
    @chairmakerPete 2 года назад

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

  • @darpananeja4751
    @darpananeja4751 3 года назад

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

  • @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.

  • @mouradsamy2729
    @mouradsamy2729 4 года назад

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

  • @rustomadrianguce785
    @rustomadrianguce785 Год назад

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

  • @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.

  • @AddisChess16985
    @AddisChess16985 8 месяцев назад +1

    Wow! I thought that Flexbox was a very complex and time-consuming thing to learn. This video explains it in a concise and accurate manner. Thanks, sir. You deserve a sub and a like!

  • @garettclement6671
    @garettclement6671 Год назад

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

  • @zzzbyyy
    @zzzbyyy Год назад

    this topic can't be presented better that this ... Outstanding Work

  • @fata__morgana
    @fata__morgana 5 лет назад +153

    Simple, fast and clear. Amazing work dude!

  • @perishedfirestorm555
    @perishedfirestorm555 Год назад

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

  • @gyanendramaurya2082
    @gyanendramaurya2082 Год назад

    Best tutorial in the world. I am a professional working in an organization. I used to do html CSS stuff back in the day but nowadays I'm more into logic building and APIs stuff. Just want to learn about flex to improve my css, tried at many blogs but did not get satisfactory answer, When I saw video from web dev simplified there was an instant relief. Thank you so much for best compact content with no bs like others.

  • @TheDeadlyDalek
    @TheDeadlyDalek 2 года назад

    This is a great reference video. I return to it each time I need a refresher.

  • @javxa
    @javxa 4 года назад

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

  • @Apeles735
    @Apeles735 3 года назад

    Absolutely amazing tutorial! Keep up the great work!

  • @Apfelwolken
    @Apfelwolken 3 года назад

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

  • @SachinGuy
    @SachinGuy 10 месяцев назад

    Any web concept you teach becomes so easy to understand. Thanks buddy for the effort.

  • @vilassa
    @vilassa 2 года назад

    Great tutorial, you made flexbox building process easy to understand. Thanks

  • @mentaeamare3888
    @mentaeamare3888 4 года назад

    Thank you so much for the detail concise explanation you have given us on flexbox property. Keep lecturing us. You the best!

  • @adammahmud7840
    @adammahmud7840 2 года назад

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

  • @meermahmudurrahman4013
    @meermahmudurrahman4013 4 года назад

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

  • @paulojelade3380
    @paulojelade3380 3 года назад

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

  • @balubalaji9956
    @balubalaji9956 Год назад

    you are a gift to this dev world. Thank you for making complex topic understandable

  • @PeterJohnsonWales
    @PeterJohnsonWales 3 года назад

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

  • @OzShurki
    @OzShurki 2 года назад

    Not even a one bad word to say! You are amazing! Thanks very much!

  • @jthomasaurus
    @jthomasaurus 4 года назад +2

    I know flexbox pretty well, but still learned a couple of things in this video. Thanks for another excellent video!

  • @adrient104
    @adrient104 4 года назад

    As a lot have already said this is the best intro to flexbox I couldn't dream to come across! I wish I knew more of this before creating my last website... I'm even thinking about redoing it bootstrap-free.

  • @ThatBritishVlogger
    @ThatBritishVlogger 4 года назад

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

  • @garypowell3566
    @garypowell3566 2 года назад

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

  • @user-yn8cu5rk7h
    @user-yn8cu5rk7h Год назад

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

  • @Marjolein_1979
    @Marjolein_1979 Год назад

    This video is extremely helpful for me. Thank you!

  • @ltd_music
    @ltd_music Год назад

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

  • @khaledoueslati66
    @khaledoueslati66 3 года назад +1

    great job ! thanks for this demo