CSS Flexbox Course

Поділитися
Вставка
  • Опубліковано 3 січ 2025

КОМЕНТАРІ • 304

  • @learnwithnorlyn
    @learnwithnorlyn 4 роки тому +187

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

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

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

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

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

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

  • @udaysharma444
    @udaysharma444 3 роки тому +5

    This was the best flexbox explanation I've ever seen

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

  • @itsprinceyadav
    @itsprinceyadav 3 роки тому +7

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

  • @EnesKab
    @EnesKab 3 роки тому

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

  • @renukar1286
    @renukar1286 2 роки тому

    The best video for FLEXBOX

  • @malaicristian360
    @malaicristian360 6 років тому +7

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

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

  • @EliasKibret
    @EliasKibret 3 роки тому

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

  • @colekrause5882
    @colekrause5882 3 роки тому

    Best teacher for anything HTML or CSS related by far!

  • @deepaks.m.6709
    @deepaks.m.6709 6 років тому +12

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

  • @leesungchan7162
    @leesungchan7162 4 роки тому +5

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

  • @neophytech007
    @neophytech007 4 роки тому +1

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

  • @digigoliath
    @digigoliath 4 роки тому

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

  • @francislambert5189
    @francislambert5189 2 роки тому

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

  • @shaneway007
    @shaneway007 Рік тому

    Thanks!

  • @mohaimennobel8558
    @mohaimennobel8558 4 роки тому

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

  • @prakashreddy438
    @prakashreddy438 3 роки тому

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

  • @zeropressure5409
    @zeropressure5409 4 роки тому +4

    one of the best explanation ever, thank you

  • @amandafinbarrs2060
    @amandafinbarrs2060 2 роки тому

    Thank you again freeCodeCamp. Amazing video!

  • @nishantnimish7825
    @nishantnimish7825 5 місяців тому

    Still the best video on flex box 6 years later

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

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

  • @shankerm3959
    @shankerm3959 4 роки тому

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

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

  • @karahitto
    @karahitto 2 роки тому +1

    Excellent video, this really helped finally get it.

  • @luancardosolc
    @luancardosolc 4 роки тому +3

    FreeCodeCamp is awesome, I am becoming a big fan hahahha

  • @mariopizzaro
    @mariopizzaro 2 роки тому

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

  • @0815CrossLight
    @0815CrossLight 6 років тому +74

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

    • @Beecherina
      @Beecherina 5 років тому +11

      I was looking for a comment about this :D

    • @conaxliu9677
      @conaxliu9677 4 роки тому +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. 😆

  • @HordanJarbinger
    @HordanJarbinger 4 роки тому +1

    Per Harald Borgen is an amazing teacher! Thanks!

  • @hartdev05
    @hartdev05 3 роки тому

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

  • @awaiskhalid4593
    @awaiskhalid4593 4 роки тому

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

  • @Jasna88
    @Jasna88 4 роки тому +1

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

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

  • @kirankandula2779
    @kirankandula2779 4 роки тому

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

  • @jawaddev808
    @jawaddev808 4 роки тому +16

    "Heyyyyyyyy" I love it :D

  • @rogemmarkperez7417
    @rogemmarkperez7417 3 роки тому

    best css flexbox tutorial ever!

  • @ShahFaisal-fs4wu
    @ShahFaisal-fs4wu 2 роки тому

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

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

  • @romanpabianczyk8870
    @romanpabianczyk8870 3 роки тому

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

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

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

  • @sphinxx8881
    @sphinxx8881 2 роки тому

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

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

  • @aawferris
    @aawferris 4 роки тому +1

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

  • @chadrackkyungu2167
    @chadrackkyungu2167 4 роки тому

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

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

  • @drivenbycuriosity
    @drivenbycuriosity 4 роки тому +2

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

  • @ronaldcsjohnson4790
    @ronaldcsjohnson4790 3 роки тому

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

  • @adithyasanthosh30
    @adithyasanthosh30 5 років тому

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

  • @User-escjqou
    @User-escjqou 3 роки тому +2

    The flex property 13:05

  • @whitney2603
    @whitney2603 3 роки тому +1

    Amazing video, feelin' like a flexbox pro!

  • @alokranjan476
    @alokranjan476 5 років тому +2

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

  • @eternal8902
    @eternal8902 3 роки тому

    you are slamming, my man. tnx.

  • @robertbarr3638
    @robertbarr3638 4 роки тому

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

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

  • @Hacking-NASSA-with-HTML
    @Hacking-NASSA-with-HTML 5 років тому +1

    Man, sorry I even do not know your name, Big Big thanks to you, and a lots of prosperity for your unbelievably cool lessons!
    You said there is lessons about CSS Grid, where I can find the link? Thanks in advance!

  • @syedsaifuddin4406
    @syedsaifuddin4406 4 роки тому +1

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

  • @mohammednuru125
    @mohammednuru125 2 роки тому +1

    freeCodeCamp forever

  • @redsevenbox
    @redsevenbox 6 років тому +1

    This video just saved my life.

    • @deadredsky
      @deadredsky 3 роки тому

      Last night a DJ saved my life

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

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

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

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

  • @computerscince8430
    @computerscince8430 3 роки тому

    the best flex box totourial ever thanks : )

  • @oscarpauzerfilho2003
    @oscarpauzerfilho2003 4 роки тому

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

  • @nidhi131
    @nidhi131 6 років тому

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

  • @joeldcanfield_spinhead
    @joeldcanfield_spinhead 5 років тому +2

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

  • @t-h787
    @t-h787 4 роки тому

    you sir, are an absolute hero

  • @zakhariihusar6975
    @zakhariihusar6975 3 роки тому

    Man your code is organised really neat 👍

  • @niwanthakaweragoda9480
    @niwanthakaweragoda9480 4 роки тому

    Amazing video! Such a clear explanation!

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

  • @s3m3dov
    @s3m3dov 4 роки тому +2

    19:12 where I left, I'll continue
    I finished it, thanks)

  • @magalyriera
    @magalyriera 3 роки тому

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

  • @fanuel2198
    @fanuel2198 4 роки тому

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

  • @sravanstg234
    @sravanstg234 3 роки тому

    This was very helpful. Thank you so much.

  • @albertcastaneto7245
    @albertcastaneto7245 3 роки тому

    Finished!
    Thank youuuu!

  • @raghuramkumar3121
    @raghuramkumar3121 3 роки тому

    Excellent Explanation !!! Thank you ...

  • @premchandkodali4215
    @premchandkodali4215 3 роки тому

    "Heyyyyyyyiii...." Thanks for the course :)

  • @Pspisripoff
    @Pspisripoff 6 років тому +1

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

  • @АндрейМаксименя
    @АндрейМаксименя 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

  • @yidnekachewzewdu6205
    @yidnekachewzewdu6205 4 роки тому +3

    please can you tell me what text-editor or HTML Editors / Testers you use?

    • @valampz
      @valampz 3 роки тому

      It looks like Brackets.

  • @Naz-yi9bs
    @Naz-yi9bs 4 роки тому +1

    Even when I don't include "height: 100%;" in the basic.css file under the html, body tags the page is still responsive for me. As long as I have "height: 100%;" in my container selector within the index.html file. I am confused why it's working for me when he keeps saying in the video that it won't work.
    By the way, amazing video. Thank you so much!

  • @sabbath13
    @sabbath13 2 роки тому +1

    how do you give the input search that style?

  • @trivender007
    @trivender007 3 роки тому

    Thank you .. very nice.. this is gold

  • @arpitj07_
    @arpitj07_ 3 роки тому

    Amazing stuff. i want to know how did you styled "search" input such that there's no border and only an underline in its place.

    • @georgekingiv8171
      @georgekingiv8171 3 роки тому

      I think by making {border: transparent;} 🤔

    • @arpitj07_
      @arpitj07_ 3 роки тому

      @@georgekingiv8171 yes this is one of the style.
      {Border: transparent
      Border-top-style: hidden
      Border-left-style: hidden
      Border-right-style: hidden
      Border-bottom-style: grooved }
      Using pseudo element
      :: Placeholder {
      Color: #ffff }

  • @kevinzhang8974
    @kevinzhang8974 6 років тому

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

  • @GildwareTechnologies
    @GildwareTechnologies Рік тому

    this CSS Flexbox course, you will learn how to use Flexbox, a powerful layout model in CSS, to create flexible and responsive web designs. Flexbox is an essential skill for front-end web developers, as it simplifies the process of building complex layouts and aligning items within a container.
    Course Outline:
    Introduction to Flexbox:
    Understanding the concept of Flexbox and its advantages
    Exploring the Flex container and Flex items
    Learning the main axis and cross axis in Flexbox
    Flexbox Container Properties:
    display: flex; and display: inline-flex;
    flex-direction: row, row-reverse, column, column-reverse
    flex-wrap: nowrap, wrap, wrap-reverse
    justify-content: flex-start, flex-end, center, space-between, space-around, space-evenly
    align-items: flex-start, flex-end, center, baseline, stretch
    align-content: flex-start, flex-end, center, space-between, space-around, stretch
    Flexbox Item Properties:
    flex-grow, flex-shrink, and flex-basis
    flex: shorthand for flex-grow, flex-shrink, and flex-basis
    order: changing the order of Flex items
    align-self: overriding alignment for individual Flex items
    Flexbox and Responsive Design:
    Creating responsive layouts with Flexbox
    Using media queries to adapt Flexbox behavior on different screen sizes
    Building responsive navigation bars and content grids
    Flexbox Techniques and Design Patterns:
    Equal-height columns with Flexbox
    Vertical centering of content
    Sticky footers and off-canvas menus
    Card layouts and media objects
    Combining Flexbox with CSS Grid:
    Integrating Flexbox and CSS Grid to build powerful layouts
    Leveraging the strengths of both layout models
    Cross-Browser Compatibility and Vendor Prefixes:
    Understanding browser support for Flexbox
    Using vendor prefixes for older browser versions
    Best Practices and Performance Considerations:
    Writing clean and maintainable Flexbox code
    Performance tips for optimizing Flexbox layouts
    Throughout the course, you will work on hands-on exercises and real-world projects to solidify your understanding of Flexbox and how to use it effectively in your web development workflow.
    By the end of this CSS Flexbox course, you will have mastered Flexbox and gained the skills to create dynamic, flexible, and visually appealing layouts for your web projects.