CSS Flexbox Tutorial for Beginners | Basics & Container | 1/2

Поделиться
HTML-код
  • Опубликовано: 25 янв 2025

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

  • @MetaBlueAvatar
    @MetaBlueAvatar 5 лет назад +32

    "Align items always refers to the positioning of elements along the cross axis". Never going to forget that now! Thank you for the excellent explanation

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

      "justify-content" on the same breadth does the same along the main-axis. ;)

  • @divisorZero
    @divisorZero 2 года назад +1

    you can TEATCH, not just give information. Thank you for your explanations! I mean all you youtube and courses!

  • @jakubrpawlowski
    @jakubrpawlowski 7 лет назад +100

    This is hands down the best explanation of flexbox on RUclips. Great job Manu!

    • @academind
      @academind  7 лет назад +6

      It is so amazing to get such a rewarding feedback, thank you very very much Jakub :)

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

      So you've seen ALL other videos on this subject? Every single one in the world?

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

      @@svendbentjensen5512 a month on and if you were to re-read what you wrote, doesn't that sound kinda 'stupid' comment!

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

    How can ppl give this a thumbs down. I was struggling to understand Flexbox until I came across this tutorial. The best explanation and diagrams to illustrate the direction on RUclips. Thank you so much.

  • @natashasimone1931
    @natashasimone1931 4 года назад +10

    I've spent about a week trying to understand Flex boxes I finally understand thanks to you! Thank you!! :-D

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

    Definitely the best explanation of Flexbox I have encountered. I especially like that the CONTAINER and the FLEX ITEMS are being discussed separately. Top notch. Ten stars. Thank you for doing this & posting it.

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

      Great to hear, thank you!

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

    Finally, someone who can actually explain Flexbox properly

  • @taariqq
    @taariqq 4 года назад +6

    Most helpful thing about their teaching style, clear demarcation of ideas and listing the values used in them. Great tutorial!

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

    Was doing an online Bootcamp and came to flexbox (align-items, justify etc) and it all got a bit confusing, so when i saw Academind explaining it I was like: "click" and sure enough....now I'm starting to get it. :) Max and Man are so clued into teaching these topics at the beginner level.
    Wunderbar, Wie von mir ;) :)

  • @giorgiobarone9784
    @giorgiobarone9784 5 лет назад

    This is probably the best tutorial about flexbox. The way you explain is very clear, your English is perfect and to show the concepts on the screen helps a lot. Well done! My compliments!

    • @academind
      @academind  5 лет назад

      Thank you very very much for your fantastic feedback Giorgio, this really means a lot to me :)

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

    if you don't understand flexbox after this, you will never understand it. best flexbox explanations ! GJ

  • @bassam.2023
    @bassam.2023 3 года назад

    I finally get it! You don't know how hard this has been, but this tutorial has increased my confidence tenfold. Thank you, Manuel/Academind!

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

    Sir ty so much for this! I learned flexbox recently but was having issues and nobody else explained the rules like you did so I’ve been struggling ! Now it makes sense! You’re so gracious to help us for free!! Big hug ty !

  • @kenanklovitch8117
    @kenanklovitch8117 6 лет назад +1

    Wow, the best video tutorial on flexbox I have found, you have taken the frustration out of learning flexbox, I can't thank you enough!

    • @academind
      @academind  6 лет назад

      Thanks a million for your awesome feedback Ken, it honestly makes me happy to read that the video was helpful for you :)

  • @mu7am2d
    @mu7am2d 5 лет назад

    This is really the best explanation of flexbox that I found so far! I have been struggling to understand it, but this is THE REAL DEAL! Thank you guys!

    • @academind
      @academind  5 лет назад +1

      Awesome to read that Mohammed, thanks a lot!

    • @mu7am2d
      @mu7am2d 5 лет назад

      Academind i will also be purchasing thr css course on Udemy to apply it on the Angular knowledge that I learned from Maximilian! Your udemy courses changed my programming skills completely. Thanks again

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

    Thank you for adding Theory and explaining flexbox, not just "code what I am coding"

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

    There are very few good flex-box tutorials on youtube and this is one them.

  • @tg-shyam2887
    @tg-shyam2887 2 года назад +1

    man never saw such a good explanation like this thanks a lot for such an excellelent video keep going

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

    32:48 in v4.5 "align-content: flex-start" behavior seems to have changed.

  • @auxreves4957
    @auxreves4957 5 лет назад +2

    You are the best CSS teacher I've encountered, sir. Thank you

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

    you are the only person i understand flexbox with keep it up you are killing it :)

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

    @32:35 when you have align-content: space-between and you're stretching the window out, the contents go to the center. However, when I have space-between, the contents stay on top. Any reasons why? The code is the same :(

  • @t.l.e.e.
    @t.l.e.e. 3 года назад

    You are awesome and have an amazing teaching style. You use all your video making tools to their highest potential and help others to do the same with their code.

  • @MatterLabz
    @MatterLabz 5 лет назад

    This is the first of your videos I've watched. It will not be the last. New subscriber! You are an excellent teacher. The flow of these lessons are so well thought out. Great job. Thanks.

    • @academind
      @academind  5 лет назад

      Thank you very very much for these nice words, happy to have you on board of the channel :)

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

    Great complement to your 100daysofcode course! I wanted to have a deep dive into CSS positions/flexbox as it's quite a complicated logic to learn, kind of make you dizzy (where's the cross axis, the floor, where am I?.. ahh). Well, now I understand it better... but I definitively need practise :D vielen Dank, you're both the clearest and most didactical from all the other contents I've seen!

  • @harpreetsingh6802
    @harpreetsingh6802 6 лет назад

    jst watched 10min of tutorial and i can't stop myself to pause the video and comment first. I have never seen this deep explanation of flex-box tutorials. Thanks mate :)

    • @academind
      @academind  6 лет назад +1

      Thanks a million for your awesome feedback Harpreet, it just fantastic to read that you like the video!

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

    Best tutor so far!!! Explained so well. Thank you so much.

  • @angelamiller4740
    @angelamiller4740 5 лет назад +6

    This was SO well done & SO easy to understand! THANK YOU!

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

    Took me a bit but after thinking it over and some playing around, I get it! Thanks!

  • @robertw671
    @robertw671 5 лет назад +2

    Very good video. I have learned a lot from it. Thank you.
    The one confusing term for me was: Cross direction (?)
    Every time I heard it, I had to 'translate' it in my head to: Wrap direction.
    The direction that the elements will be moved when wrapping.

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

    Thank you so much for explaining this so well! I have been struggling with Flex-Box and you have made it to simple for me to grasp. So many lightbulb moments! I'm off to watch part 2.

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

    Thank you, I finally understand how align-item works now !!!!!!!!

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

    depending on flex direction, position of cross axis changes, and align items refers to cross axis

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

    Very nice explanation on Flex Box! Thanks a ton!!!

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

    man you explain this way better than my lecturer!

  • @Saaad2
    @Saaad2 2 года назад +1

    Using flex-direction and flex-wrap would be better option than using flex-flow as that is more easier to grasp for first time learners. When you're teaching then you have to make it simple, you don't do it your own, but the simpler and easiest way. Overall good video!

  • @DecentralEyes
    @DecentralEyes 5 лет назад +1

    Is there any advantage to coding this way or using Bootstrap 4 (which uses flexbox behind it's grid system) ?

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

    Sir Amazing Explanation cleared all my doubts thank you

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

    Great video. But at 19.12 column reverse example image cross arrow should go from right to left.

  • @nzjemountfort
    @nzjemountfort 7 лет назад

    Finally - a clearly understood explanation of this - Thanks!

    • @academind
      @academind  7 лет назад

      Thank you very much Jonathan, really happy to read that you liked my explanation!

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

    display:inline-flex;
    elements keep the width

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

    the finest flexbox explanation !

  • @iamreg1965
    @iamreg1965 5 лет назад

    Excellent video on flexbox Max. Nice pace and every basic topic thoroughly explained.

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

    great teaching. thanks 😃 you made that easy to understand.✌

  • @maskman4821
    @maskman4821 7 лет назад +7

    does that mean float+clear, display~inline-block has phased out?

    • @EMR80
      @EMR80 6 лет назад

      Not 100 percent phase out. But it's close to the end. In five more years I'm going to say totally dead.
      In terms of floats and clear era is done.

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

    First class tuition! Thank you.

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

    Simply awesome. Thank you Academind.

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

      @Academind, if you can, check my youtube channel here, I've replicated in portugueses one of the courses that I learned here (building a rest api with node.js), but I've used mysql instead of mongoDB.

  • @liamik9986
    @liamik9986 5 лет назад

    Best explanation of align-items and justify-items!!! thank u very much!!!!!

    • @academind
      @academind  5 лет назад

      Thank you very much Lia :)

  • @Omkar3324
    @Omkar3324 5 лет назад

    I think inorder to activate column /column reverse wraps cross function we gotta drag the browser screen to respond from its lower or upper boundary.

  • @selamteshome-vc8df
    @selamteshome-vc8df 2 года назад

    Do you have free online course about programing language?

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

    align items refers to position of items relating to cross axis!

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

    you are awesome.. I finally understood flex box.

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

    How to make a text in center? Text is in upper(h=150px) bt how to make a text in center?

  • @rubialalom
    @rubialalom 5 лет назад

    Thank you Manu you are by far the best teacher.

    • @academind
      @academind  5 лет назад

      Thank you so much Rubel!

  • @abbyck
    @abbyck 5 лет назад

    Hoping that you people will reach 1M subs soon...

    • @academind
      @academind  5 лет назад +1

      Still a long way to go but we are more than happy with the awesome support we get from you and many others :)

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

    Very nice and clear explanations.

  • @Tech_Enthusiast_001
    @Tech_Enthusiast_001 7 лет назад +4

    How relevant is FlexBox with the new and fresh Grid in mind? Is there any reason to use FlexBox over Grid?

    • @academind
      @academind  7 лет назад +4

      In my opinion knowing (and using) both can be helpful depending on what you want to create on your site. Therefore, a video covering CSS Grid will come in the near future, I'll try to show the advantages/disadvantages it has when comparing it to Flexbox in this video.

    • @Tech_Enthusiast_001
      @Tech_Enthusiast_001 7 лет назад +1

      That sounds like something ill be looking forward to. Personally just started doing some webdesign again (after 4 years of just java work) and GOD do i love having Grid now. It is amazing compared to the same work 4 years ago.

    • @academind
      @academind  7 лет назад

      I totally agree, it really is a big improvement and makes working with CSS a lot easier.

    • @Jel.Awesh.M
      @Jel.Awesh.M 7 лет назад +1

      A reason to use Flexbox over Grid is the compatibility, I think to implement in IE, you know.

    • @lorapora
      @lorapora 6 лет назад

      They work together. You want to use both. example a container can be flexbox and one of it's children be grid or vice versa. By combining them you can achieve complex layouts which would be very easy to manage.

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

    This video gave a great understanding of how to do this thank you so much.

  • @viniciusdemorais7327
    @viniciusdemorais7327 5 лет назад +1

    wtf how good it is tks for this, I've seen several others tutorials and I'm pretty sure that this is the best.

    • @academind
      @academind  5 лет назад

      That's simply fantastic to read Vinicius, thanks a lot!

  • @keshavchauhan2465
    @keshavchauhan2465 5 лет назад

    Why does height changes when we apply wrap?

  • @wasimsuperb
    @wasimsuperb 5 лет назад

    Thanks for sharing such valuable tutorial.please guide when to use flex box and when to use grid and when to use other layout ..plz guide thanks

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

    these guys are amazing. always a pleasure learning from them

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

    awesome video, so clear, calm and with a lot of example. Love it!

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

      Glad you enjoyed it, thank you!

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

    Thank you sir . Excellent 👍👍

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

    I can't thank you more, dude. You helped me so much!

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

    Outstanding video, Thank you!

  • @TheD2D21
    @TheD2D21 6 лет назад

    Ah! Totally makes sense why the main and the cross are named such and why they switch! Thanks for that.

    • @academind
      @academind  6 лет назад

      Happy to read that Jorge thanks a lot for your comment!

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

    please give us explain the grid css like this video

  • @michalk2072
    @michalk2072 5 лет назад

    Thanks for the tutotrial! It is very informative. And this flexbox is really awesome, it makes things much easier!

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

    freking useful and clean explain

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

    Thank you for the very detailed explanation of the flex layout. You've done an excellent job of explaining the basics very clearly. Thank you for sharing your knowledge.

  • @duducv
    @duducv 6 лет назад +1

    Academind is Awsome! thank you for one more lesson.

    • @academind
      @academind  6 лет назад

      YOU are awesome Eduardo, thanks a lot for your great feedback!

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

    It would be gret if you continue teaching other css tutorials like grid bootstrap sass javascript ect..

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

    align-content, items in more than one line, cross axis

  • @EMR80
    @EMR80 6 лет назад

    I think I will buy your course it looks impressive and clearly explained.

    • @academind
      @academind  6 лет назад

      Happy to read that, thank you! We tried our best to follow the same teaching style in the full course, would be great to have you on board :)

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

    thank you very much it was the most helpfull video I have seen

  • @beatsarfa5407
    @beatsarfa5407 5 лет назад +2

    Finally I can understand flexbox, thank you very much...

  • @Fernando-du5uj
    @Fernando-du5uj 6 лет назад +7

    Best explanation ever, thank you so much!

  • @ajayji1009
    @ajayji1009 5 лет назад

    So, with this...the responsive can be done without bootstrap, right?

    • @blazej0598
      @blazej0598 5 лет назад

      Ajay Arora ofc, You don’t need bootstrap

  • @user-zb5jp4ti1d
    @user-zb5jp4ti1d 6 лет назад

    Soo good... Manu and Max, you guys are giants... going for your CSS course on udemy shortly... thank you so much

    • @academind
      @academind  6 лет назад

      Thanks a lot for your great feedback, this means a lot to both of us! Looking forward to welcome you on board of our CSS course :)

  • @abdulkadirbingol584
    @abdulkadirbingol584 5 лет назад

    Thanks for great lesson. I think if you used different border color for divs, it would be better.

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

    Awesome Job.. Great Explanation ... n the Last Explanation abut flxboX
    Thanku ...

  • @nerdophile6945
    @nerdophile6945 5 лет назад

    Best explanation Homie !! Now I can show off in my college

    • @academind
      @academind  5 лет назад

      Happy to read that Venkat, thank you!

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

    Explained very well. Thank you so much !

  • @karunsekhar2874
    @karunsekhar2874 5 лет назад

    best responsive design explanation this video tq sir

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

    align-content, visible results when wrap is active

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

    Thanks. The best clear logical explanation so far.

  • @madunasimon
    @madunasimon 5 лет назад

    Hello welcome back... to this serious...

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

    align-items //cross axis
    justify-content //main axis

  • @ozzyfromspace
    @ozzyfromspace 5 лет назад +1

    Incredible explanation, mate! I'm gonna take your Udemy course :)
    Comment:
    I wish the creators of Flexbox called align-items and justify-content easier property words like: main-align and cross-align. That would be a lot more intuitive. Lost opportunities, it seems.

    • @academind
      @academind  5 лет назад +1

      Thanks so much for your awesome feedback and support, I hope that you will also like the full course :)

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

    Best tutorial. Thank you.

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

    You got a new subscriber

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

    Thank you so much for such a wonder ful teaching.

  • @bpittenssligro1848
    @bpittenssligro1848 5 лет назад

    Great thanks, like always from Acamind, again very good video.

    • @academind
      @academind  5 лет назад

      Thank you so much for your awesome feedback!

  • @kevwekelly7611
    @kevwekelly7611 6 лет назад

    Please, how can i get the second part of this video. Thanks

    • @academind
      @academind  6 лет назад

      Of course, here is the next part: academind.com/learn/css/understanding-css/flexbox-flex-items

  • @Freebird1122
    @Freebird1122 5 лет назад

    Thanks for the video! Great explanation, easy to understand.

  • @zuyah287
    @zuyah287 6 лет назад

    sooooo clear! best explanations of the flex eveeeer!

    • @academind
      @academind  6 лет назад

      Thank you very very much for your great feedback Zuya, so happy to read that :)

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

    Thank you soooooooooooooooooooooooooo much that is a great introduction to the flex box..

  • @ferenccziryek3642
    @ferenccziryek3642 6 лет назад

    Hican I use it to reorder menu ?

  • @junka3
    @junka3 7 лет назад

    Nice video. It would be nice to have numbers as a content of the divs and different colors in order to have a bit more interaction with the class values. Nice slides

    • @academind
      @academind  7 лет назад

      Thanks a lot for your feedback Sergio. Definitely something I'll keep in mind for the next videos :)