Flexbox design patterns you can use in your projects

แชร์
ฝัง
  • เผยแพร่เมื่อ 8 ก.ค. 2024
  • Get your cheatsheet: flexbox-pattern-cheatsheet.ke...
    Want to learn more about flexbox? flexboxsimplified.com
    Flexbox is amazing, and I honestly feel like sometimes we're just stratching the surface with what we can do with it! In this video I explore three design patterns that you can use in your sites using flexbox.
    In-depth gap video (including alternative for Safari): • Gap in flexbox & how t...
    /// Timestamps
    00:00 - Introduction
    00:19 - even columns
    04:31 - grid-ish
    08:13 - content and sidebar
    12:45 - spacing things out
    #css #flexbox
    --
    Come hang out with other dev's in my Discord Community
    💬 / discord
    ---
    Keep up to date with everything I'm up to
    ✉ www.kevinpowell.co/newsletter
    ---
    Help support my channel
    👨‍🎓 Get a course: www.kevinpowell.co/courses
    👕 Buy a shirt: teespring.com/stores/making-t...
    💖 Support me on Patreon: / kevinpowell
    ---
    My editor: VS Code - code.visualstudio.com/
    ---
    I'm on some other places on the internet too!
    If you'd like a behind the scenes and previews of what's coming up on my TH-cam channel, make sure to follow me on Instagram and Twitter.
    Instagram: / kevinpowell.co
    Twitter: / kevinjpowell
    Codepen: codepen.io/kevinpowell/
    Github: github.com/kevin-powell
    ---
    And whatever you do, don't forget to keep on making your corner of the internet just a little bit more awesome!

ความคิดเห็น • 446

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

    First name to search for when you need anything related to CSS.

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

    I still don't understand how you have less then 200K subs... You deserve more!

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

      YESSS, i think the same. This channel is so rich in content

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

      Dido...

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

      done.

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

      I think it's because most people overlook the role of CSS until they really need it.

    • @Kevinproducciones2
      @Kevinproducciones2 3 ปีที่แล้ว

      Now he has 267.000 in less than 4 months

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

    It never fails. I come to one of these videos for a specific technique, and end up deleting my entire style sheet.

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

    Just wanna say I really like your videos. I've worked in web for close to 10 years and have never properly learned CSS and your videos are just so well made and easy to understand.

  • @rektosaurus6552
    @rektosaurus6552 ปีที่แล้ว +20

    im at the very beginning of my webdev journey and i gotta say your content and what you provide for us is priceless, I cant count the number of times I was struggling for hours then i come back to your videos and i find the solution , thank you so much !

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

    I’ve been winging it with flex for a while and spending countless hours debugging and guessing to make things work with flex but after this overview on the basics, I have a better understanding of flex and how to approach the styling. Nice video, great breakdown.

  • @jessiz-
    @jessiz- 2 ปีที่แล้ว +3

    Super helpful - I love the way you teach and go through these concepts. It makes thinking about flexbox so much simpler. grid-ish seems really useful. Thanks Kevin!

  • @akshaymondal1372
    @akshaymondal1372 ปีที่แล้ว

    Before diving into web development I went through lots of articles in quora , most of the articles were related to css and all of them said that css is just bullshit , not possible for everyone to cope up with it . It created too much hype in our community that it actually crated fear in out hearts .
    But I didn't have any option, so I started with html css .
    And then I came across the great kevin powell. You don't know how much you have contributed in my life.

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

    Kevin you are a amazing! 👏 thank you for explaining these css scenarios in easy to understand manners, it really helps a lot , because responsive design is such a vital part of web dev, but also such a hard one, especially for newer developers⭐

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

    I love your videos. Everytime I get stuck on something and I search youtube it's always one of your videos that get me back on track.

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

    Great work Kevin. Very well put together, straight to the point video. I also took you responsive design course which was great. Thanks for sharing your knowledge!

  • @sirjohn2924
    @sirjohn2924 3 ปีที่แล้ว

    This is what i wait for :) probably last year of the video and it makes me happy. Thanks Kevin. We hope that 2021 will be great for everyone. Kevin also I want to see more updated video about old topic with new trend like css position on cutting edge effect etc.

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

    The CSS God....I spent hours yesterday trying to wrap my head around something like gridish...I sort of gave up but I was so close!!!...You really make CSS cool these vids are a lifesaver

  • @ayushbali
    @ayushbali ปีที่แล้ว

    Kevin you're awesome, I used to fear CSS and everytime I tried making layouts I used to quit out of frustration, these videos of yours are great and I'm starting to understand things now. Thankyou!!

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

    Thanks a ton, lol I was taking ss from your video just to keep a cheat sheet and you offered it, you're probably the best teacher on TH-cam... thanks a ton

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

    Awesome stuff Kevin! Thank you very much. I am back on dev again after some days in pause mode .
    I will get back to your classes on CSS demystified tomorrow morning !
    Happy new year to you and family !

  • @bryanperez3668
    @bryanperez3668 ปีที่แล้ว

    Great! The content sidebar section is exactly what i need, in my job they are using float and width instead of flex-basis so that a field is more large than the next one. Thanks for that

  • @felixjimenezgonzalez9292
    @felixjimenezgonzalez9292 2 ปีที่แล้ว

    First of all, great video! Everytime I need to refresh flexbox you're the first person I come to!

  • @xphstos_
    @xphstos_ 3 ปีที่แล้ว

    I don't know what it is but you're in my head!!!
    I was exploring some ways to reduce my media queries while I was working on a project I used this gridi-sh example.
    But Kevin, when I say you're in my head I mean it!
    This keeps happening for months now!
    I find something new and then BOOM here's a new video with you playing with the same stuff!

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

    Its feel amazing everytime seeing your's video notification on youtube . Thanks alott Sir

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

    For spacing margin works well and then you don't have browser compatibility problems.
    .parent { margin: -1rem}
    .child {margin: 1rem;}
    By adding a negative margin to the parent then you don't lose the width. This method works well when using flex wrap.

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

    It was a brushing up video for me on Flexbox properties, Thank you Kevin :)
    I love to see more videos on CSS Animations...

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

    As always, totally easy explanations and very visually! Keep it up Kevin!

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

    This is real magic! Thank you so much. Have a wonderful new year 2021!

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

    One of the best videos that you have made. Thank you so much man! You rock!

  • @shahbokhari
    @shahbokhari 3 ปีที่แล้ว

    Always learn something new from Kevin's HTML, CSS & JS videos. He's a PRO and a Hero. We are all getting old!

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

    Found this guy TODAY!!!! ONLY TODAY!!! THANK YOU Kevin!

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

    Perfect timing, I'm currently working on a project where I might be able to use the content-sidebar idea to streamline my classes a touch.

  • @parthparmar9798
    @parthparmar9798 2 ปีที่แล้ว

    every time i get to your video i learns atleast one awesome trick to make my projects more effective.
    so thanks for that.

  • @rezarahman1782
    @rezarahman1782 3 ปีที่แล้ว

    It's really cool that how you manage to minimize the use of media query.Hat's off sir!😍

  • @dannyr2976
    @dannyr2976 2 ปีที่แล้ว

    I'm new to the channel but learned so much about the awesome power of Flexbox! Thank you so much for sharing!

  • @PremiumTechReviews
    @PremiumTechReviews ปีที่แล้ว

    Outstanding teacher and seems to be a very nice guy in the real life. Thank you Kevin, for all the great things you do!

  • @hassanjaved1147
    @hassanjaved1147 2 ปีที่แล้ว

    Amazing stuff. I have been looking for this precious info for almost a month. You saved our back :) Thank You.

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

    Now you seems to be my way to go if i need to check some css tricks, i hope you keep making these videos

  • @Pavfixers
    @Pavfixers 3 ปีที่แล้ว

    Thank you and Happy new year

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

    I don’t really understand those dislikes. They might have clicked by mistake. Thank you so much Kevin. Another great video. 👍

  •  3 ปีที่แล้ว +6

    Little details like that ch unit totally have my mind blown :-O

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

    Great video - love these settings. BTW, I took your free 21-day responsive layout course this Summer, and now building a responsive site is a piece of cake. I just got my site up and I need to fix some designs that I don't like but it looks good on a smartphone. I started out though NOT building via responsive first - that was a mistake. I ended up building my last 2 pages responsive first and it was easy - now I have to go back and clean up the mess I made from building desktop first...

  • @AnthonyDev
    @AnthonyDev 2 ปีที่แล้ว

    Now, always I have any doubt about css I come to this channel, since I watched the king of css battle video this is my favorite css channel. I'm improving my flexbox skills. :)

  • @iamjustine1
    @iamjustine1 2 ปีที่แล้ว

    Really the CSS king!! Thanks for the knowledge!

  • @donghyuk80
    @donghyuk80 2 ปีที่แล้ว

    Thank you for brief explanation!

  • @insomniomicron3297
    @insomniomicron3297 2 ปีที่แล้ว

    Amazing stuff Kevin! Thanks for this!

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

    Awesome tutorial. I love the step-by-step introduction and also possible problems examples. Thanks a bunch. Liked and Subscribed!)

  • @ejirogheneobiuwevbi6012
    @ejirogheneobiuwevbi6012 3 ปีที่แล้ว

    Super excited about this, thank you.

  • @brootaylor
    @brootaylor 3 ปีที่แล้ว

    Thanks Kevin. As always great stuff and much appreciated.

  • @omniosi
    @omniosi 2 ปีที่แล้ว

    Best explanation i've seen so far. It also makes me feel better that he types about as a bad as I do. ;)

  • @samarharbieh4813
    @samarharbieh4813 3 ปีที่แล้ว

    thank you for all the videos Kevin, so helpful. You are amazing!

  • @frankiejrey
    @frankiejrey 3 ปีที่แล้ว

    I use Grid to create layouts and flex when I want anything inline. Great tutorial.

  • @capogocrazy6125
    @capogocrazy6125 3 ปีที่แล้ว

    this guy is literally a life saver.

  • @judericketts2494
    @judericketts2494 2 ปีที่แล้ว

    Brilliant, thank you Kevin. I'm just starting my journey on flexbox.

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

    December 30th and you’re keeping the beat. Thanks for the great videos. And happy new year!

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

      Happy new year to you as well!

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

    You are the nicest TH-camr I've ever seen Mr. Powell! I love watching your content! So wholesome

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

      Thanks so much 😊

  • @tulsiraj1998
    @tulsiraj1998 3 ปีที่แล้ว

    Awesome thanks Kevin for video on flexbox.

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

    Love this. Super Awesome!! TQVM!

  • @worldclasscode1847
    @worldclasscode1847 2 ปีที่แล้ว

    Nice vid! I love Flexbox. It's so useful. I use it on each and every web page, multiple times.

  • @rachanaa6745
    @rachanaa6745 2 ปีที่แล้ว

    most amazing video in recent times which I have watched to learn Flexbox.... thanks so much Sir... All The best !

  • @avimehenwal
    @avimehenwal 3 ปีที่แล้ว

    You are awesome :) Quality over Quantity my man, you are doing way better than other youtubers XD I am a fan

  • @wetsand7379
    @wetsand7379 3 ปีที่แล้ว

    I'm addicted to learning CSS because of you!

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

    Thanks so much! Very helpful!

  • @mingde893
    @mingde893 2 ปีที่แล้ว

    Take my sub, you really deserve it. thanks alot mate. Hope that your channel blows up

  • @josepotgieter8275
    @josepotgieter8275 2 ปีที่แล้ว

    Exactly what I needed for my current project. Thanks

  • @sumkitteh
    @sumkitteh ปีที่แล้ว

    This is great, thank-you so much! I was actually in the process of going through a number of your (older?) videos seeking to extract precisely this information - I had very recently started using the flex-box patter you named "grid-ish" after seeing your description of it regarding the use of flexbox - there was no 'grid-ish' name, in that video, but from my experimentnig with it I recognized the patterns from the video icon image on this one, and this one answers a number of the guestions I had about how to constrain the flex box (e.g. column width's etc- so - thanks again - I am really enjoying your videos

  • @banderamusical
    @banderamusical 2 ปีที่แล้ว

    Thanks Kevin , You really helped me out today

  • @OrincyWhyteDesigns
    @OrincyWhyteDesigns 2 ปีที่แล้ว

    I can’t wait to support you further than watching your videos!! You are a great teacher can’t wait to join the Patreon!!

  • @michalroesler
    @michalroesler 9 หลายเดือนก่อน

    And an enormous thank you 4 teaching me modern CSS.

  • @juanvia8394
    @juanvia8394 2 ปีที่แล้ว

    Flexbox design patterns I surely will use in my projects. Thank you for that.

  • @TheMetalMag
    @TheMetalMag 2 ปีที่แล้ว

    Awesome , getting crazy with flex

  • @muhammadzaakirmungrue3146
    @muhammadzaakirmungrue3146 2 ปีที่แล้ว

    I have watched many I think your the best CSS teacher on TH-cam. Thanks , things get messy when I have a with a few icons and tags and I need to add a dropdown with a title in that and centre it.

  • @louiscorbeil7775
    @louiscorbeil7775 3 ปีที่แล้ว

    Great video, as usual, and nice glasses. Have a fantastic 2021!

  • @tehg33k
    @tehg33k 3 ปีที่แล้ว

    Hey, I think the glasses look great! Thanks for the video, helpful as always. Take care Kevin!

  • @maxtreme2901
    @maxtreme2901 2 ปีที่แล้ว

    thanks for the help, you make web-design learning much easier for me

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

    I appreciate this demos, keep it up!

  • @kennethgan1333
    @kennethgan1333 3 ปีที่แล้ว

    all hail to the Css King!Such a life saver!

  • @ramyokasha3092
    @ramyokasha3092 3 ปีที่แล้ว

    thank you for all your tips and tutorials , you are a living treasure bro

  • @abdul__rauf
    @abdul__rauf 3 ปีที่แล้ว

    Fantastic Kevin as always. ❤️

  • @Elliot7676
    @Elliot7676 3 ปีที่แล้ว

    You're the real genius of css

  • @silverhakusho
    @silverhakusho 10 หลายเดือนก่อน

    Thank you for your videos. They've been an invaluable resource in my web development learning journey

  • @jimjuris
    @jimjuris 2 ปีที่แล้ว

    Thank you for creating this wonderful video. It was very helpful to me and I learned a lot watching it.

  • @hyfydistro
    @hyfydistro 3 ปีที่แล้ว

    Flexbox has "gap" property now?!! 😍 Thank you!! I always find something new in your videos!

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

    What will I do without your tutorials? !!😩😍

  • @MrViciousway
    @MrViciousway 3 ปีที่แล้ว

    Life saver 🙌🏼 helped a lot, seen you on web dev simplified css quiz episode 😁✌🏼 actually thought that was hilarious and very informational.

  • @MoodNSoul
    @MoodNSoul 2 ปีที่แล้ว

    Great explanation mate. I'm learning important stuff from you. keep it up!

  • @KlausOppermann
    @KlausOppermann ปีที่แล้ว

    Very helpful, thank you!😄

  • @0xander_
    @0xander_ 2 ปีที่แล้ว

    Happy that I've found your channel. Liked and subscribed!!

  • @lisandrofrancucci2205
    @lisandrofrancucci2205 2 ปีที่แล้ว

    You are an absolute hero

  • @dindoleonard
    @dindoleonard 3 ปีที่แล้ว

    wow you really are king of CSS

  • @sentient314
    @sentient314 3 ปีที่แล้ว

    Amazing. Thank you so much

  • @kieran2347
    @kieran2347 3 ปีที่แล้ว

    Great video, Kevin. Thanks

  • @axeldrax007
    @axeldrax007 3 ปีที่แล้ว

    Thanks for the video !!

  • @deadaccount6327
    @deadaccount6327 2 ปีที่แล้ว

    i've never heard of the ch unit before thats reallly helpful

  • @nitram_nosnibor
    @nitram_nosnibor 3 ปีที่แล้ว

    That is very useful, thanks for sharing Kevin 👍🏻

  • @sashatv138
    @sashatv138 3 ปีที่แล้ว

    Thank you, Kevin!

  • @gunjanrajtiwari1435
    @gunjanrajtiwari1435 2 ปีที่แล้ว

    The Gridish one is awesome. 😍

  • @EagerEggplant
    @EagerEggplant 3 ปีที่แล้ว

    You are fing insane! Thank you man!

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

    It's thanks to this guy I did my first free Lance job and then landed a good job

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

    Hi Kevin...thanks for a super tutorial. Very clear. Also you've got a good voice for it too. Good pacing and step by step..... Oh and thanks for the pdf too...helps after watching to reinforce 👍
    Best wishes
    Tyrone.

  • @trevormadden4301
    @trevormadden4301 2 ปีที่แล้ว

    Cheers Kevin. Incredibly Helpful. Peace

  • @rentefald
    @rentefald 2 ปีที่แล้ว

    You're not too old :) you are great!

  • @seeithappen1
    @seeithappen1 ปีที่แล้ว

    Thanks for showing this. Yes I agree that Flex is really amazing and personally I prefer it above css grid what is actually overkill.

    • @KevinPowell
      @KevinPowell  ปีที่แล้ว

      I actually use grid way more often 😂
      But flex is still great at what it does!

  • @captaceospades0987
    @captaceospades0987 3 ปีที่แล้ว

    I Always enjoy your content.