CSS Flexbox Course

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

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

  • @learnwithnorlyn
    @learnwithnorlyn 4 года назад +186

    0:00 -Your first Flexbox layout
    2:04 - Main axis and cross-axis
    3:55 - Justify Content
    6:22 - Positioning items
    10:00 - The flex property
    15:01 - Align items
    19:09 - Flex direction column
    23:09 - Wrapping
    25:15 - Flex grow, shrink, basis
    34:01 - Order
    37:09 - Creating a responsive Navbar
    42:42 - Creating a Flexbox image grid

  • @CknSalad
    @CknSalad 6 лет назад +46

    The flex-shrink, flex-grow, and flex-basis explanations and examples really helped. 26:00 for those that want to skip to that section.

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

      Exactly. Was looking for this info in this video :)

  • @Jwarddesign-ca
    @Jwarddesign-ca 3 года назад +5

    I understood the majority of the flex property before, but I was confused with the whole grow/shrink values. This is by far the best explanation. Thanks!

  • @silviugherman7432
    @silviugherman7432 6 лет назад +10

    The idea of thinking in terms of axis really helped me grasp how different flex properties affect the items based on the flex-direction value of the container (default or not).

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

    You don't Know How Happy Am I !!! I have been learning Css Flexbox for three Days But Didn't Understand anything but this tutorial Solved my all problems you are better than some of the Udemy Courses

  • @juantoledo4857
    @juantoledo4857 6 лет назад +90

    Wow... Extremely well organized and presented and very clear and precise explanations. Thank you!

    • @Knards
      @Knards 6 лет назад +2

      All of Per's courses are like this. Very well done and interactive

  • @morathanan
    @morathanan 4 года назад +3

    Man, i dont know who you are, but at the age of 35, i only started learning code. Im struggling with flexbox for a while now, and you made it so clear its amazing! Thanks a lot.

  • @itsprinceyadav
    @itsprinceyadav 3 года назад +7

    All doubts cleared! I now have a better understanding of flexbox. Honestly, this is the best tutorial for flexbox on RUclips.

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

    i had this video in offline and i got it from a fellow classmate and after watching this video i thought that you deserved a like because this tutorial is just amazing thank you so much for creating this tutorial so i came on YOutube and tracked down this video just so i can press that like button

  • @rafaelalvesduarte9117
    @rafaelalvesduarte9117 6 лет назад +4

    Your voice is so clear to hear that it becomes so easy to understand.

  • @PedroDVC
    @PedroDVC 4 года назад +9

    I've been trying to understand Flexbox from different resources and this one stood out, for sure!! Thank you for the great content!

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

    Thank you so much, i have been struggling with div and flexbox for a couple of days now i kept searching for materials until i found this particular one and it has solved all my concerns. Thanks!

  • @udaysharma444
    @udaysharma444 3 года назад +5

    This was the best flexbox explanation I've ever seen

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

    This lecture is a proof of how some other guys out there tend to make things super complicated. Thank you !

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

    Dude, this explanation is just great. Very clear and efficient! Subscribed to the channel after this video. Thank you.

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

    I was reading flex box documentation but this video helps me to understand flex box more quickly

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

    TQVM for this. It is well organised & presented. We are guided through the lesson examples with clear explanations and in an easy to understand manner. I especially like the interactive scrimba version where we get to do instant practice. I highly recommend this video!!

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

    You realy helped me here, havent see others explaing the case about the need of putting flex:1 if we want one item to take more width, without declaring flex to the other items... also the css declararation specification was a good reminder , thank you ❤️

  • @deepaks.m.6709
    @deepaks.m.6709 6 лет назад +12

    Thank you freecodecamp for doing this course as a video :)

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

    Best teacher for anything HTML or CSS related by far!

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

    before this tutorial i was really confused about flexbox..this cleared all my doubts

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

    This was really helpful, thank you! It was good to see how the grid moved with the different examples, which I hadn't quite understood when doing the exercises for the CSS Grid and Flexbox challenges. Thanks so much!

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

      I ran through grids and flexbox at a stretch and forgot most of it, So here I am

  • @leesungchan7162
    @leesungchan7162 4 года назад +5

    "Hey!" at the begining of seach section. :) I like it

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

    Bite-sized lectures really do the job. Very well presented and explained. Thumbs up!

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

    Hi, Per. I needed a moment and I got this to write. Awesome video for those that-need -to-know. Peace: )

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

    1. (0:01) - Your First Flexbox Layout
    2. (1:57) - Main Axis and Cross Axis
    3. (3:54) - Justify Content
    4. (6:20) - Positioning Items
    5. (9:24) - The Flex Property

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

    one of the best explanation ever, thank you

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

    i don't understand English so much but your speaking so easy to learn.Thank you sir

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

    I have landed the right video for "flexbox".
    Clear explanation and great examples.
    Thank you freecodecamp :)

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

    Wow. Simply wow. So well organised and presented. Loved it. Thank you for the awsome content.

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

    The best video for FLEXBOX

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

    Freecodecamp is teaching freeof cost...u people doing a great job...

  • @luancardosolc
    @luancardosolc 4 года назад +3

    FreeCodeCamp is awesome, I am becoming a big fan hahahha

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

    Nice vid! Flexbox is key. One of the most important 3 features of CSS. And without CSS you cant do nothing on the web.

  • @nishantnimish7825
    @nishantnimish7825 6 месяцев назад

    Still the best video on flex box 6 years later

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

    A perfect video to completely understand flex. Thanks for it.

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

    Didn't feel like 48 minutes at all! Thanks a lot for this tutorial!

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

    Thank you again freeCodeCamp. Amazing video!

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

    Per Harald Borgen is an amazing teacher! Thanks!

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

    Such a clear and well-explained tutorial. Thank you very much for your hard work!

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

    Excellent video, this really helped finally get it.

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

    Could not get it to do 41:17 with the flex: 1 1 50%; command. Could get it to work that way by using 30% instead of 50%. Only 2 elements would stack on each row that way, not 3 like you would suspect, since 30% fits 3 times inside 100%.

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

    Thank you freecodecamp. Thanks to you I learn something new every day.!

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

    There is a significant delay in the flex direction chapter (19:18). Due to this delay, a recognizable portion of the chapter is cut.

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

    when i first started learning HTML & CSS, i had no problem. FlexBox, though, was so hard to understand for me. Maybe because i was 14, but i really had a hard time understanding it for some reason. This was the last Flexbox video i've watched.

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

    greatest flexbox vedio watched till today. hats off to you sir

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

    One of the best video tutorial to get started with flexbox. Thank you so much :)

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

    I've came across this course recently, thanks a lot !!!

  • @ShahFaisal-fs4wu
    @ShahFaisal-fs4wu 2 года назад

    Greeting Sir,
    Excellent explanation
    Sir saw lot of tutorials but you are the best.
    no words to thank you

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

    it was amazing i didn't have any clue in Flexbox but after learning this tutorial i'm fine now

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

    Thanks a lot for this 🙏🙏 tutorial. Very organized content & superb explanation 🔥🔥🔥

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

    First video i saw on scrimba, its great, u have great voice

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

    In 18:18 how is he able to use the align property when the the flex-directon is row?

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

    Well explained.
    Love the way the content creator present things!
    9.99 out of 10....he he he

    • @AM-oe7ix
      @AM-oe7ix 5 лет назад +1

      +0.01, 10/10

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

    Very informative and content is well explained.
    Thank you very much. Keep posting such videos.

  • @jawaddev808
    @jawaddev808 4 года назад +16

    "Heyyyyyyyy" I love it :D

  • @0815CrossLight
    @0815CrossLight 6 лет назад +74

    Audio and video are out of sync in Lecture 7.
    Great video though!

    • @Beecherina
      @Beecherina 6 лет назад +11

      I was looking for a comment about this :D

    • @conaxliu9677
      @conaxliu9677 5 лет назад +18

      Glad you mentioned 'Lecture 7'. I was about to just close this video thinking the remaining would also be out of sync.

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

      @@conaxliu9677 I was about to close thinking my HomePod is out of sync :-D

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

      @@bqrkhn Maybe it is. 😆

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

    i was today years old when i realised pressing the number keys on your keyboard navigate to the timestamps/chapters looooll

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

    Amazing video, feelin' like a flexbox pro!

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

    I really enjoyed that video, I think you have explained flex box very well!

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

    14:04 I did it in other way:
    .home, .logout{
    flex:2;
    }
    It will also work if you put flex:1

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

    at 17:45 to center the button, why not use margin: auto?

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

    best css flexbox tutorial ever!

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

    Thank you for the content you provide. This is helping me turn my life around.

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

    Pretty nice explanation! Made flexbox very clear to me..thanks!

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

    Yeah!!! You did a VERY NICE JOB!!! Congrats and Thank You so Much.👍👍👍👍

  • @АндрейМаксименя
    @АндрейМаксименя 2 года назад

    On 15:00 why wouldn't you just .home, . logout {} ? Is it bad practice? Its just at that moment you have only flex property for them

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

    At 14:44 is it bad if I did .home, .logout {
    flex: 2;
    }?

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

    the resolution of yours video is not clear...please for the next course correct it...thanks bcos you done great job...Be bless...

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

    @7:45 Why can't we use justify-self: flex-end on main axis positioning in this example instead of margin-left: auto? I've tried justify-self but it doesn't work, anyone know why in this case?

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

    very intersting ! I would have to go through this video a couple of times to get down all the concepts. Anyways Thanks a lot man ! You made my day :)

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

    Thank you very much for such an educational video ! Nice presentation and easy to understand

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

    Excellent Video Very Very Thanks . I learned whole flex-box

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

    Impressive job, awesome audio, loved the Grid course to, very interactive, its just like a tutorial for dummies, pardon me but in video format.

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

    I have never seen before so many ads in one such short movie

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

    Amazing video! Such a clear explanation!

  • @arthurfloriano5445
    @arthurfloriano5445 4 года назад +8

    This is a great course, but I wish you would have linked your code for the second CSS stylesheet "basis". Its hard to match up what you are doing if we don't know what's going on behind the scenes there (I'm a beginner). Otherwise, great course.

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

      I second that. How did you get each div a different color? In addition, when i set my container class height to 100%, it stretches to the bottom of the screen. My content looks nothing like yours.

    • @IG7799-c4u
      @IG7799-c4u 2 года назад

      He showed the CSS code at the start of the video. You should be able to copy it in a couple of minutes.

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

    This video just saved my life.

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

      Last night a DJ saved my life

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

    At 7:16, why did you use class instead of id?

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

    the best flex box totourial ever thanks : )

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

    Very easy and I like your style of teaching thank you!!!

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

    this is a very practical video ... I learned many tips from this .. Thank you!

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

    Dude, no joke, i love you! Thanks! :D

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

    Man your code is organised really neat 👍

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

    This was very helpful. Thank you so much.

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

    A great video, helped me to understand Flexbox. Thanks.

  • @ReformPak-dt3cq
    @ReformPak-dt3cq 2 года назад

    Hi, could you guide me about the basic.css file modifications before explaining Index.css at 38:59. I am unable to apply CSS to Search, rest i have managed.

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

    It's very easy to learn. Thank you so much

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

    Thanks!

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

    Excellent Explanation !!! Thank you ...

  • @t-h787
    @t-h787 4 года назад

    you sir, are an absolute hero

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

    I think it would be better to say flex-basis sets the size along the main axis, which in a row is the width and in a column is the height.

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

    11:30 When I add a new div for Profile, it's not getting the background color automatically.

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

      Probably you didn't specified a default background colour in your div element

  • @Omar-_-_
    @Omar-_-_ 4 года назад

    WOW, thank you so much, I thought that flexbox is a much more complex topic, but thanks to this video , I have learnt it In a day...

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

    thank you very much for that effort, you did a god presentation there

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

    Incredibly helpful, thanks!

  • @kevinzhang8974
    @kevinzhang8974 6 лет назад +9

    For Lecture 11, "Bonus - Reponsive Navbar", did you do any styling in basis.css for the ul and li? For example, set "list-style-type" to "none" for li? Can you share? Thanks!

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

      Well it's seems he used "list-style-type:none".
      But i want to know how did he styled "search" input such that there's no border and only an underline in its place.

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

      @@arpitj07_ border: none;
      outline : none;

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

    you are slamming, my man. tnx.

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

    Thanks for this fantastic video, learning a lot

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

    i got a question:if align items is to be applied to all flex items and align-self to a specific flex item, for which element will these CSD properties be applied to?