Learn Flexbox CSS in 8 minutes

Поделиться
HTML-код
  • Опубликовано: 16 май 2024
  • 🚨🚨🚨 COURSES - slayingthedragon.io 🚨🚨🚨
    Discord - / discord
    Codepen for this project - codepen.io/ramzibach-the-styl...
    Blog post - slayingthedragon.notion.site/...
    During the CSS stone-age developers were creating layouts with floats and positioning until one fateful day Flexbox would be introduced and the world would never be the same.
    0:00 Intro
    0:11 display flex
    0:39 flex-direction
    1:05 justify-content
    1:41 align-items
    2:22 key concept
    3:12 flex-wrap
    3:36 align-content
    4:08 gap
    4:20 flex-grow
    5:19 flex-shrink
    5:44 flex-basis
    6:14 flex shorthand
    6:43 align-self
    7:17 order
  • НаукаНаука

Комментарии • 1,1 тыс.

  • @slayingthedragon
    @slayingthedragon  7 месяцев назад +30

    🚨🚨🚨 New CSS Course - slayingthedragon.io 🚨🚨🚨

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

      How old are you

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

      😂😂​@@smaransure2234

    • @willempienaar
      @willempienaar 3 месяца назад

      I would have watched your video if not for the retro effect. It is irritating.

    • @Filaxsan
      @Filaxsan Месяц назад +1

      Oustanding! Looking fw your other courses as well!

  • @fartlander
    @fartlander Год назад +800

    This is what high value content looks like. Crystal clear, concise and to the point. Much appreciated.

    • @slayingthedragon
      @slayingthedragon  Год назад +12

      Thank you ❤❤

    • @ishwarsukheja
      @ishwarsukheja 8 месяцев назад +5

      Completely 💯 Agree

    • @sdbadik
      @sdbadik 5 месяцев назад +1

      I completely agree with you, @fartlander

  • @irun_mon
    @irun_mon Год назад +760

    this is so much better than spending a whole day reading flex box in w3school, I'm a visual learner so this helps a lot

    • @slayingthedragon
      @slayingthedragon  Год назад +26

      I'm glad this helped 😁

    • @finyx
      @finyx Год назад +16

      Same bro😑 plus, he also give out plenty of tips. I'm glad I came across his channel.

    • @shortislife6627
      @shortislife6627 Год назад +28

      Dont use w3, better use mdn

    • @Troyzhen
      @Troyzhen Год назад +3

      Same!

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

      u people are no visual learners, you're just lazy... there's a difference ;) but keep up the excuses, we're a society made of excuses, so you'll need it

  • @utkarshmayur6344
    @utkarshmayur6344 Год назад +663

    I had skipped flexbox and moved onto learning JS; after watching this I realise how much of a peasant I was. Your channel is insane, keep the good work up!

  • @UndeadSasuke34
    @UndeadSasuke34 Год назад +99

    Even though I have worked as a fullstack dev for a couple of years, I never really fully understood the baseline and the align-content, even after research. It's totally absurd how you explained them in a matter of seconds at such high quality. At my company I am responsible for providing frontend learning materials for the interns every year, and this video together with others and for sure a lot of videos you will put out in the future will be the new learning material for the interns, and as well for seasoned developers, as I am spreading the word of your channel through my company and to my friends.

  • @hex_1733
    @hex_1733 Год назад +60

    Beginner in CSS here, I understood how flexbox worked and the properties before, but I just couldn't wrap my head around it when it came to actually using it. This is a really clean refresher, I'll save it to watch when I get confused with flexbox again haha.

  • @mailsiraj
    @mailsiraj 10 месяцев назад +7

    This is the 3rd video I am watching and I am very impressed with how much you convey in such a short time. For the first time, I understand the difference between align-items vs align-content. Your explanation of baseline and align-self were very helpful as I could not understand them after doing other tutorials. Thank you so much.

  • @recep36
    @recep36 Год назад +6

    Thank you so much! I'm currently learning CSS and you've put so much content into just 8 minutes. Incredible!

  • @buzzardb
    @buzzardb Год назад +32

    I learned everything back in the float era and have been trying to catch up with the times. This is by far the most clear and concise flexbox tutorial ive watched yet.

    • @geovaniraffaelli4508
      @geovaniraffaelli4508 Год назад +3

      For someone who previously wrote css with float learning flexbox is like the best day ever

  • @stea27
    @stea27 Год назад +28

    All I can say is you nailed it again. In a few minutes you showed the whole thing, with clear instructions. You're doing a much better and useful presentation than most of paid courses and materials.

  • @martinkobimbo8090
    @martinkobimbo8090 Год назад +4

    Took a whole day reading about flexbox on various sites and couldn't piece together what was happening, you just explained everything I covered and made me understand everything in 8 minutes 😮. You are the best ❤

  • @dennylekstrom4517
    @dennylekstrom4517 Год назад +2

    Just started out with my html and css learningprocess and this is the first video that has given me an intuitive grasp on how to visualize the different elements and how to manipulate them. I really appreciate the no-personal-opinion and non-bias, just straight facts. In short, not so much about you, but the topic at hand. Fantastic content and approach. Much thanks! New subscriber for sure! 😁

  • @tamarasurnina_renovation
    @tamarasurnina_renovation Год назад +2

    Thank you so much! your short video helped me understand the topic, that i've studied in IT school for 2 months and still couldn't wrap my head around it, until now! and all in 8 minutes! Brilliant!

  • @anton9410
    @anton9410 Год назад +7

    pretty good refresher, keeping the viewer engaged with actual info that flows from one point to another. Keep at it mate!

  • @Channel-zo1zp
    @Channel-zo1zp Год назад +3

    Great explanation. I was totally confused about this and was using the stone-age properties.. i feel confident now

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

    Truly amazing explanation, I was always overwhelmed with information on flex, but nothing was as clear as this. This has made flex so easy to understand that can be practically implemented in any real-world scenario.
    Great job!

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

    Man , your channel came into my recommended like an angel. I have exam Web Development in 3 weeks and so far I been struggling understanding positioning, css grid, etc. Bless you , these tutorials are amazing. I hope to see more videos and tutorials from you! Maybe also lil projects to do!

  • @Jakobokun
    @Jakobokun Год назад +11

    This is gold! Been struggling to wrap my head around flexbox but this really helped me to understand it better! Subscribed :)

  • @jamesfranchino
    @jamesfranchino Год назад +3

    Such a good explanation. Simple and no waste of time. A true professional!

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

    This is the best channel for learning css i have ever came across which is time-saving and super understanding.
    keep going on !

  • @bhavikyadav2934
    @bhavikyadav2934 Год назад +2

    thankyou so much man , your explanations are just amazing, watched your grid and flex box videos and understood both the concepts very clearly, subbed forever

  • @rookie6496
    @rookie6496 Год назад +5

    Sick summary! Loved it, I have always needed align-self, but didn't know it existed.
    Deserves waaay more views.

  • @dopehr
    @dopehr 9 месяцев назад +2

    Despite being brief and quick, his tutorials are pretty detailed and cover anything you need to know. This is what a developer needs. keep it up 👍

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

    this was the best flexbox tutorial that i've ever seen, no rubbish, just straight to the point. nice work brother.

  • @abhavyaverma5101
    @abhavyaverma5101 Год назад +5

    This is what I was looking for. Direct and simple explanation. Great Work 😄

  • @nemeziz_prime
    @nemeziz_prime Год назад +10

    I cannot express in words how brilliant this tutorial is 👏🏻👌🏻🔥

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

    Short, straight to the point and still exhautive. Great content, well done and thank you

  • @alxbenjamin
    @alxbenjamin 3 месяца назад +2

    No fluff, just straight to the point.
    We need more tutorials like this.

  • @bamas_1357
    @bamas_1357 29 дней назад +8

    Our school teacher showed us this video in class, now I am coming back because we have an test on this topic tomorrow :)

  • @RikThePixel
    @RikThePixel Год назад +4

    I really am liking this kindof analytical format. This guy has nice visuals paired with a pretty streamlined explanation!

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

    You conveyed this info effortlessly and effectively. Thanks!

  • @SnakesRaven
    @SnakesRaven 3 месяца назад +1

    Well explained, to the point, no fluff... First tutorial I watch of this channel and I"m already impressed. Good job man!

  • @djrmarketing598
    @djrmarketing598 Год назад +5

    I've been writing HTML since the early 90's (Mosiac days) and never understood the flex layout. Your video helped me understand this way better than I have ever understood. 100% recommended watch. Gone are the days of me trying to do margins and wrapper containers trying to center something horizontally or vertically!

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

      I'm really happy to read this ☺️, much love ❤️❤️

  • @afterthelasttime
    @afterthelasttime Год назад +7

    Your videos are super informative and concise. I wish you’d make one on everything code related, they really get the point across. I can tell you’re working on it so here’s to many more. 👍

  • @Alexander_Haplington
    @Alexander_Haplington 2 месяца назад +1

    Thank you so much! Up to this point I was always confused by flexbox layout and never understood what all those articles were talking about. This was crystal clear for me!

  • @sayanmanna2511
    @sayanmanna2511 7 месяцев назад +1

    Bro it is so well explained in such a short time. No bs, pure content.. 🔥

  • @asaduzzamansunam9845
    @asaduzzamansunam9845 Год назад +25

    The way you described how one property unlocks other properties (eg: flex-wrap:wrap; unlocks align-content) just blew my mind. The way you divided flex properties into container and item properties, that was brilliant. Thanks for the clear-cut video. I will recommend your video to my other friends.

    • @slayingthedragon
      @slayingthedragon  Год назад +3

      Holy, I really appreciated reading that, thank you so much 😁

  • @gt8846
    @gt8846 Год назад +3

    Thank you bro, your teaching is so easy to understand.

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

    A great explanation of the controls and their defaults. Thank you!

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

    This is definitely best and cleanest explanation of the flexbox ever. Thank you, this is really great! 🌟

  • @thiscris_
    @thiscris_ Год назад +24

    As a senior developer with over 12 years of experience I can say that you are amazing at explaining. I enjoyed this quick refresh. Keep it up!

    • @shanoof
      @shanoof 5 месяцев назад

      where are from?

  • @Blackoutfor10days
    @Blackoutfor10days Год назад +3

    There's a huge demand of teachers like you 😊

  • @d0ve-
    @d0ve- 6 месяцев назад +1

    honestly thank you so much for this! this was so helpful and i love the way you explain things simply yet effectively. i can't believe you've offered this for free!!

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

    Best explanation of these concepts. I had difficulty learning them as presented in another class.
    Thank you so much for putting this up for the world!

  • @SuperDarmino
    @SuperDarmino Год назад +317

    What if you put flex-grow: 0.9; or 0.8; ? So the 1 or the 0.9 just basically equates to a percentage where 1 means 100% of the space left and 0.9 means 90% etc.?
    Btw your explanation is really straight to the point and it makes it even easier to comprehend with the added graphics

    • @slayingthedragon
      @slayingthedragon  Год назад +101

      Yes that's exactly how that works, 0.9 or any other number here is a unitless value that represents a fractional value of the remaining space available. I see now though that perhaps I could have explained that part better. I'll pin this comment so that others can see. Thank you ☺!

    • @SuperDarmino
      @SuperDarmino Год назад +26

      @@slayingthedragon Thank you mate. Looking forward to you future tutorials

    • @fizzinsoda
      @fizzinsoda Год назад +6

      you didn't do the gap: idk if it was out yet or not, but using gap: 5%; or whatever num you wanna use is pretty nice

    • @slayingthedragon
      @slayingthedragon  Год назад +17

      @@fizzinsoda I did, 4:09 😋

  • @iMagicGraalOnline
    @iMagicGraalOnline Год назад +3

    I would love to see something like this for grid. So much content very well explained in very little time. Awesome content!

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

      I have one for grid :p

    • @HocineKamikaz
      @HocineKamikaz Год назад +2

      @@slayingthedragon is it out yet? If yes we need the link and thanks that explanation is gold!

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

      @@HocineKamikaz ruclips.net/video/EiNiSFIPIQE/видео.html 😊

    • @HocineKamikaz
      @HocineKamikaz Год назад +2

      @@slayingthedragonmy duuuude...!! Thankssss a million time❤️

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

    Brooooo. This is a BANGER video. No bs. Just straight to the heart. I love it. Subbed.

  • @vojinkarisik1554
    @vojinkarisik1554 Год назад +2

    Brother, this is the best tutorial I have ever seen. So simple and straight to the point. Thank you very much, you helped me A LOT!

  • @miajowayuyu7273
    @miajowayuyu7273 Год назад +3

    love how the most watched moment is where he shows the base styles he said we should "ignore"

  • @rayeesdot310
    @rayeesdot310 3 месяца назад +3

    flex-direction : column ;
    changes the axis
    is the best point

  • @keithdeklerk7304
    @keithdeklerk7304 6 дней назад +1

    I've been struggling with flexbox until now. Your video certainly does what you set out to do....help us UNDERSTAND. Thanks so much!

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

    Thank you for such a clear, straightforward review that is considerate of the viewer's time. Plus, the *Codepen* link is extremely helpful -- *excellent video!*

  • @lebersa
    @lebersa Год назад +3

    Fast, simple and straight to the point.
    Is it possible doing a tutorial about grid?
    Thanks from Brazil!

    • @slayingthedragon
      @slayingthedragon  Год назад +2

      Thanks! Yea actually already working on the grid video should be out Monday !

  • @123arskas
    @123arskas Год назад +12

    Please make such concise videos for:
    1- Bootstrap
    2- Tailwind
    3- React
    4-MongoDB

  • @KelseyOKelley
    @KelseyOKelley Год назад +2

    Explained very well and concise. I appreciate you taking the time to make this video, it helped me a lot. Thanks!

  • @shuylife
    @shuylife 6 месяцев назад +1

    I'm doing the Mimo course and certain parts of this didn't really land, particularly the align-items vs align content but this video seriously helped to fill in the gaps. Super concise and now I feel have a much better grasp of flexbox. Thank you!

  • @sanketpatil8682
    @sanketpatil8682 Год назад +3

    Bro can you make CSS web development course and put it in RUclips 🙏👌

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

    Great video! Straight into it, without any bs. Very well explained, thanks a lot! I’ll be coming back to this video often

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

    Great video! Helped me so much to understand flexbox it's crazy, about to try to use it myself now. Thank you!

  • @briholland
    @briholland Месяц назад +1

    That was very well explained. Looking forward to more. Thank you!

  • @consciousearth76
    @consciousearth76 7 месяцев назад +1

    love your video so much to the point with not frills, thanks

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

    Im so happy that i found your channel, very clear explanation, thank you for that, keep it up !

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

    Thank you very much!! Glad I found your channel and I feel like this channel is gonna blow up, the quality is great 🙌

  • @potatochan5391
    @potatochan5391 6 дней назад +1

    loved the video. Explains precisely and concisely. cleared my doubts too. Thank you

  • @eyewas9245
    @eyewas9245 11 месяцев назад +1

    Truly amazing video. This is the best most clear and concise video on the topic I've seen.

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

    I went on 5 hours of research to understand flexbox, I didn't understand much and I just watched your video and that's it I understood! Thank you, it's clear and easy, no complicated terms and the explanation of the axis change a lot of thing!

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

    Instant sub! This is the best flex box explanation I’ve seen 👌

  • @Wangaruro
    @Wangaruro Год назад +2

    Literally the best Flexbox tutorial I have seen!!! I've learnt so much in 8 minutes.

  • @Jrizy.
    @Jrizy. 11 месяцев назад +1

    Your videos are incredible man! Very informative, well said and spoken and just overall making things easy to understand!
    Greatly appreciated1 Please keep videos coming, I have a feeling that you are going to make it big on RUclips if you continue to upload such powerful videos in the category of coding!
    Thank you! 💙

  • @soominkim1660
    @soominkim1660 9 месяцев назад +1

    wow, this video is amazing. Very clear and really well explained, thanks!!

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

    bro, simple and to the point. great video, thank you

  • @johnanthonyprado1938
    @johnanthonyprado1938 6 месяцев назад +1

    Absolute content, very informative and straightforward. definitely saved me a whole day to learn basics of flex box in few minutes. Thank you and subscribing.

  • @xdasdaasdasd4787
    @xdasdaasdasd4787 7 месяцев назад +1

    This was so helpful. Thank you

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

    Straight forward,no time waste,Appreciate your work.
    Cover all important items of flex .

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

    Damn bro, I've watched alot of flex css tuts and they were even long af, this is the only video that gave me enlightenment and how to really use it.
    Thanks man!

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

    probably the best video on this topic I even seen. Thks a lot, this is a great explanation, simple and easy to remember

  • @RonaldoReacts-qh4ec
    @RonaldoReacts-qh4ec 8 месяцев назад +1

    Keep Growing Brother. Really Appreciated..

  • @hassanmoechtar
    @hassanmoechtar 10 месяцев назад +1

    Great video! I'm doing a Front-End Development course from home and this clarifieda few things for me, that the course did not cover. Thanks and keep up the good work!

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

    Your teaching is mind opening... I understand everything I found difficult before now with a miraculous ease

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

    Good and condensed information in short duration..thank you

  • @nnejiben
    @nnejiben 3 месяца назад +1

    Awesome video! Searching for a short tutorial on CSS Flexbox and this is the best I've seen so far.

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

    The visuals you include make everything much easier to understand. 10 out of 10!

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

    This is exactly what I needed for my project! Thanks a lot sir❤

  • @trendzonweb8016
    @trendzonweb8016 7 месяцев назад +1

    Man!! Your starting was too good!!! & content is apt... superb!! Love the way you explain..

  • @Katzilla-1
    @Katzilla-1 3 месяца назад +1

    This is such a great explanation without overcomplicating anything. I feel like I finally understand flexbox a little more :D Thank you for your video!!

  • @Hennagrepf
    @Hennagrepf 9 месяцев назад +1

    Excellent explanation. Great tutorial!

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

    Thanks! This was so informative!

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

    I cannot express in words how brilliant , Short and Sweet this tutorial is 👏🏻👌🏻🔥 And ThankYou man !!!!

  • @kekuramusa
    @kekuramusa 6 месяцев назад +1

    This is an amazing guide. Had to brush up on flexbox and this video has saved me loads of time.

  • @Charlito33
    @Charlito33 Год назад +2

    I never tried to use flexbox, but now, I see how it's so useful ! Thanks you a lot !

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

    That was amazing, you're great at doing these tutorials!

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

    Never thought I could learn flex box this fast. Thanks bro. This is a time saver.

  • @antoniobrandao1642
    @antoniobrandao1642 7 месяцев назад +1

    You just made me learn a concept in 8 minutes that would probably take an entire hour. Awesome video!

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

    Fantastic video! The align-content was an eye opener for me-- almost like the missing manual for what I was trying to do before watching this.

  • @Ken-gy7jr
    @Ken-gy7jr 7 месяцев назад +1

    THIS CHANNEL IS THE BEST EVERRR

  • @yipmong
    @yipmong 5 месяцев назад +1

    i so much love your tutorials, so far you are my go to channel when i have difficulties in css

  • @bakhridd1nov__
    @bakhridd1nov__ 8 месяцев назад +2

    now u have a new subscriber good video keep going ❤❤

  • @user-pz9ie1vd6p
    @user-pz9ie1vd6p 7 месяцев назад +1

    you are the person who explained in the best way so far 😍😍😍

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

    The best flexbox tutorial 🔥🔥🔥
    Thank you so muchhhh

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

    This is honestly the best explanation I have heard! Thank you 👍🏽