Learn Flexbox CSS in 8 minutes

แชร์
ฝัง
  • เผยแพร่เมื่อ 15 พ.ค. 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.1K

  • @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 ปีที่แล้ว +796

    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 ปีที่แล้ว +759

    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!

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

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

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

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

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

  • @anton9410
    @anton9410 ปีที่แล้ว +7

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

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

  • @recep36
    @recep36 ปีที่แล้ว +6

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

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

  • @sayanmanna2511
    @sayanmanna2511 7 หลายเดือนก่อน +1

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

  • @RonaldoReacts-qh4ec
    @RonaldoReacts-qh4ec 8 หลายเดือนก่อน +1

    Keep Growing Brother. Really Appreciated..

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

    • @slayingthedragon
      @slayingthedragon  ปีที่แล้ว +5

      Wow thank you so much ❤️❤️❤️❤️❤️

    • @TheOceangirl28
      @TheOceangirl28 3 หลายเดือนก่อน

      which is yyrrurr company

  • @Channel-zo1zp
    @Channel-zo1zp ปีที่แล้ว +3

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

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

  • @Chopitupwithme
    @Chopitupwithme 8 หลายเดือนก่อน +1

    You conveyed this info effortlessly and effectively. Thanks!

  • @Jakobokun
    @Jakobokun ปีที่แล้ว +11

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

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

  • @pnrgenc
    @pnrgenc 8 หลายเดือนก่อน +1

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

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

  • @jamesfranchino
    @jamesfranchino ปีที่แล้ว +3

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

  • @rookie6496
    @rookie6496 ปีที่แล้ว +5

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

  • @AhLottaAntwan
    @AhLottaAntwan 8 หลายเดือนก่อน +1

    Thanks! This was so informative!

  • @Ken-gy7jr
    @Ken-gy7jr 7 หลายเดือนก่อน +1

    THIS CHANNEL IS THE BEST EVERRR

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

  • @abhavyaverma5101
    @abhavyaverma5101 ปีที่แล้ว +5

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

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

  • @berenjor
    @berenjor 8 หลายเดือนก่อน +1

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

  • @nemeziz_prime
    @nemeziz_prime ปีที่แล้ว +10

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

  • @gt8846
    @gt8846 ปีที่แล้ว +3

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

  • @mike-480
    @mike-480 7 หลายเดือนก่อน +1

    What a perfect piece of content

  • @consciousearth76
    @consciousearth76 7 หลายเดือนก่อน +1

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

  • @RikThePixel
    @RikThePixel ปีที่แล้ว +4

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

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

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

  • @xdasdaasdasd4787
    @xdasdaasdasd4787 7 หลายเดือนก่อน +1

    This was so helpful. Thank you

  • @bamas_1357
    @bamas_1357 29 วันที่ผ่านมา +7

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

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

  • @potatochan5391
    @potatochan5391 5 วันที่ผ่านมา +1

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

  • @Maeriii
    @Maeriii 11 หลายเดือนก่อน +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!

  • @miajowayuyu7273
    @miajowayuyu7273 ปีที่แล้ว +3

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

  • @Blackoutfor10days
    @Blackoutfor10days ปีที่แล้ว +3

    There's a huge demand of teachers like you 😊

  • @keithdeklerk7304
    @keithdeklerk7304 5 วันที่ผ่านมา +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!

  • @ericaimhigh
    @ericaimhigh 9 หลายเดือนก่อน +1

    Man!!! You made this sooooo simple

  • @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 th-cam.com/video/EiNiSFIPIQE/w-d-xo.html 😊

    • @HocineKamikaz
      @HocineKamikaz ปีที่แล้ว +2

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

  • @entity5678
    @entity5678 8 หลายเดือนก่อน +1

    Good and condensed information in short duration..thank you

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

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

  • @rayeesdot310
    @rayeesdot310 3 หลายเดือนก่อน +3

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

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

  • @123arskas
    @123arskas ปีที่แล้ว +12

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

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

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

  • @gregou9885
    @gregou9885 ปีที่แล้ว +1

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

  • @sanketpatil8682
    @sanketpatil8682 ปีที่แล้ว +3

    Bro can you make CSS web development course and put it in TH-cam 🙏👌

  • @bakhridd1nov__
    @bakhridd1nov__ 8 หลายเดือนก่อน +2

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

  • @wizpig64
    @wizpig64 ปีที่แล้ว +1

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

  • @Hennagrepf
    @Hennagrepf 9 หลายเดือนก่อน +1

    Excellent explanation. Great tutorial!

  • @briholland
    @briholland หลายเดือนก่อน +1

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

  • @antoniobrandao1642
    @antoniobrandao1642 7 หลายเดือนก่อน +1

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

  • @something_OfEverything
    @something_OfEverything ปีที่แล้ว +1

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

  • @KelseyOKelley
    @KelseyOKelley ปีที่แล้ว +2

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

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

  • @person81045
    @person81045 11 หลายเดือนก่อน +1

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

  • @marked75
    @marked75 9 หลายเดือนก่อน +1

    Best video on flexbox ever!

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

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

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

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

  • @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 TH-cam if you continue to upload such powerful videos in the category of coding!
    Thank you! 💙

  • @hedriankovacs6151
    @hedriankovacs6151 8 หลายเดือนก่อน +1

    Great tutorial, thank you.

  • @user-pz9ie1vd6p
    @user-pz9ie1vd6p 7 หลายเดือนก่อน +1

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

  • @michaelcronk
    @michaelcronk ปีที่แล้ว +1

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

  • @mattvolpe1492
    @mattvolpe1492 ปีที่แล้ว +1

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

  • @eyewas9245
    @eyewas9245 11 หลายเดือนก่อน +1

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

  • @_LearnStuffCenter
    @_LearnStuffCenter หลายเดือนก่อน +1

    Thank you so much for this really straight to the point

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

  • @hermandecc4063
    @hermandecc4063 4 วันที่ผ่านมา +1

    One of the best videos on CSS. Thanks for the help

  • @rafapioli75
    @rafapioli75 7 หลายเดือนก่อน +1

    Incledible! I learned a lot from this video. Many 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!

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

  • @emmanuelmenoji7853
    @emmanuelmenoji7853 ปีที่แล้ว +1

    Bro, thank you so much. And you're brilliant!

  • @user-sz5yz3zr7f
    @user-sz5yz3zr7f ปีที่แล้ว +1

    your explanations are just on point! thank you ♥

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

  • @alxbenjamin
    @alxbenjamin 3 หลายเดือนก่อน +2

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

  • @yeahboi2851
    @yeahboi2851 หลายเดือนก่อน +1

    wow, great work this is a perfect breakdown

  • @ce4083
    @ce4083 ปีที่แล้ว +1

    The best flexbox tutorial 🔥🔥🔥
    Thank you so muchhhh

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

  • @onepiecetcgmemes
    @onepiecetcgmemes ปีที่แล้ว +1

    I just learned this and had a simple understanding of this. You clarified it way more for me. thank you!

  • @SenneCools
    @SenneCools 8 หลายเดือนก่อน +1

    This video helped me finally understand what I'm doing when I use flexbox

  • @Jaberty
    @Jaberty หลายเดือนก่อน +2

    Thanks for this great explanation!

  • @user-im6uk8po4t
    @user-im6uk8po4t 4 หลายเดือนก่อน

    Thank you so much - the explanation was crystal clear

  • @swiftMyDay
    @swiftMyDay ปีที่แล้ว +1

    Top quality video right there🔥 thank you!!

  • @erickchavez4551
    @erickchavez4551 ปีที่แล้ว +1

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