PB101: L10 - Content Justification & Alignment with Flexbox

แชร์
ฝัง
  • เผยแพร่เมื่อ 10 ก.ย. 2024
  • In the previous lesson, you learned about the power of CSS Grid for structural layout. Now we have to talk about Flexbox, which is a critical tool for the justification and alignment of content within containers.
    In this lesson:
    ✔️ Display Flex
    ✔️ Custom HTML Elements
    ✔️ Flex-Direction: Row vs Column
    ✔️ Justify-Content: Main-Axis Justification
    ✔️ Align-Items: Cross-Axis Alignment
    ✔️ Align-Content: Multi-Line Cross-Axis Alignment
    ✔️ Flex Wrap
    ✔️ Row-Reverse, Column-Reverse, Wrap-Reverse
    ✔️ Flex Children Controls (Grow, Shrink, Basis, Order)
    ✔️ More Basic CSS
    ** MY TOOLS **
    🔥 AutomaticCSS (ACSS) - automaticcss.com
    🔥 Frames - getframes.io
    See all my recommended tools here: geary.co/tools/
    ** INNER CIRCLE **
    Step your design/dev game up, make more money, and get the full scoop on scaling your digital agency! When it comes to the Inner Circle, I don't hold back.
    ⭕ In-depth design & dev trainings
    ⭕ Business, sales, & marketing trainings
    ⭕ Agency resources & downloadables
    ⭕ Vibrant, quality community with zero toxicity
    ⭕ ...and much more!
    Learn more and join here: geary.co/inner...
    ** SOCIAL **
    👉 FB - / marketingkev
    👉 LinkedIn - / kevingeary
    ** CHAPTERS **

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

  • @koperkuba
    @koperkuba ปีที่แล้ว +31

    I think I need to start downloading those movies just in case the internet goes down. These lessons are too valuable :)

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

      👌🏻

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

      I had the same thought too.

    • @starmap
      @starmap 4 หลายเดือนก่อน

      jdownloader 2 .. dont mention it ;)

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

    I think this video might get you the Nobel prize for CSS. Flexbox has seemed absolutely random to me, but this is immensely helpful. I'll still be confused, but now I know to look at this video for help. I guess I should even make myself a cheat sheet. Thanks, a lot, Kevin!

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

    These lessons keep getting better and better!! You are making the world a better place. Thank you!

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

    You are a great teacher! It is not easy to speak with so much enthusiasm when there is no one is sitting in front of you. I also appreciate that you explain things step by step instead of copy pasting code.

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

      Thank you! 😃

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

    Thank You. This is, by far, the best explanation I have ever heard on Flexbox.

  • @andrew.schaeffer4032
    @andrew.schaeffer4032 ปีที่แล้ว +2

    I wish all this great content was around when I started. :)

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

    I get that flexbox has its uses, but I'm also really glad that the page builder takes care of the complexity behind the scenes for me. Understanding that flex box is for alignment and for allowing children to do their own thing really makes the separation between grid and flex really clear, thank you.

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

    I want Kevin to design the web standards 😂 This was the most valuable lesson for me thus far! P.S: Your caveman voice was epic!

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

    You're doing such a great job with these trainings....I thought I knew quite a bit but there's hasn't been a single lesson I haven't picked something up which has helped to understand in greater detail what things do and are meant for. Kevin, you're the best and as mentioned before....you have changed my business life so much. Appreciated a lot and am truly grateful. Scott Co

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

      🙏🙏🙏

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

      I was just thinking: there are so many guys hosting TH-cam’s but most of them blow smoke about some piece of software like it’s the best invention since sliced bread yet only to find them blowing smoke at the same type of software from a competing developer, a few months later. In fact most of them are teaching how to use the software according to their way of usage. Hardly any word about best practices and what not.
      However your way of teaching is not based on the tool at hand but about understanding what you’re doing and what css is all about. So what ever page builder you’ll use in the future you can always rely on the knowledge you’re sharing. This way is much better for the long term 💪
      One simple example is some of these TH-camrs now started to use clamp like they invented it but I believe it was you that started to explain why clamp is a much better way

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

      @@innotrends8416 I wish there was a way of pinning your comment becaue it somes up my feelings too.

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

    this was much fun, love the fact it step by step just how i like it, just how it should be done, took me a few mins work out how you added 3 different colors, :)

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

    It's hilarious how "not confusing" I thought Flexbox was until I watched this video. Bricks *really* tricks you into thinking Flexbox is easier than grid. Sheesh.

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

    So glad you used codepen for this lesson. Now I understand what is happening in builders like Bricks much better when using flexbox. Excellent! Thanks!

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

    This is the best CSS crash course. Hands down!

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

    After watching this video on flexbox, rewatched previous video on grid to review the small section about flexbox (at 44:10) . Made much more sense.

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

    Sooo informative! It's one thing to use a page builder and another to actually understand why and how they work. Thank You Kevin for "detailing" things so well.

  • @RiyazShihabdeen
    @RiyazShihabdeen 11 หลายเดือนก่อน

    Kevin, you really rock my world. When flex boxes first appeared, that's when I found out about them. For the past five or six years, this has been my go-to. However, I must admit that I did not initially possess such an in-depth understanding of alignment principles. I've learned so much from so many CSS experts, but no one has ever explained the fundamentals quite like this 40 minutes video. Your method of instruction is fascinating and wonderful. In my opinion, this is the crown jewel of tutorials. Aside from loving, subscribing, and commenting, the most I can do in return is to try to teach things in my home tongue of Tamil and, of course, give you credit for doing so. Hold steady in your excellent work. ❤😍👍

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

      Thanks, I appreciate you!

    • @RiyazShihabdeen
      @RiyazShihabdeen 11 หลายเดือนก่อน

      30:03 same fun that I've been having myself as a parent 🤪

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

    incredible teacher

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

      🙏

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

    In the past I have researched flexbox many times, nothing explained it as well as your video.

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

    You say in previous videos I'm going to hit you with a fire hose in the face. This hit me with Niagara Falls. Yet still informative. No one else teaches CSS using real-world examples as you do. I love the Content Justification & Alignment with the Flexbox lesson. Flexbox vs Grid is great. You are using Bricks, but I like the fact you can apply this to over page builders like Builderius, and Oxygen, etc.

  • @philippepperell9951
    @philippepperell9951 8 หลายเดือนก่อน

    Once again, thank you for a great video. Coming from a GeneratePress/GenerateBlocks background, Flexbox was, quite honestly, a mystery to me but about halfway through this video the penny finally dropped and I now at least understand the basics. I am also, concurrent with your course, doing a CSS course and I feel I have learned more about CSS from you here than I have in the first ten modules of that CSS course.

    • @Gearyco
      @Gearyco  8 หลายเดือนก่อน

      💪🏻💪🏻💪🏻 keep up the good work!

  • @microice-
    @microice- ปีที่แล้ว

    OMG 🤯 now I understand what were those bottoms in bricks hehehe
    thanks for this content 😁

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

    This was really helpful. I agree with Kevin that following along in Code Pen is really helpful in learning CSS Flexbox.

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

    Who the hell designed these things so confusingly...you tried best possible way to explain these things. Thank you

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

      I want names and addresses!

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

    There may be thousands of flex-box tutorials in this Universe oh no.. could be millions ( if you include all Indians and Chinese tutorials) but this one is only, this one I'm telling you again, Mr. Geary this the "NUMBER ONE" anybody against my opinion, should have 'prison time'

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

    Wow, what a great video on flexbox. It has always seemed somewhat mysterious and random.

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

    I have always found flexboxes extremely confusing. You explain why, very well!!! Often times, I have been just clicking various alignment controls in page builder to see which one gives the desired results (very bad trial and error approach). Your explanation gives some method to that flexbox alignment madness. I need to watch this video a few more times and play with codepen a lot to grasp it better. Thanks for doing this tutorial. I really needed it for my own sanity.

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

    Thank you Kevin - had the basics w/flexbox but it has helped so much to write the code to figure it out as opposed to using in the page builders.

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

      👏🏻👏🏻👏🏻

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

    Super clear tutorial Kevin 😄

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

    Now I am thinking how I sleep on my bed.
    Flex-start at 10pm,
    Flext-end at 12am
    then
    flex-under bed at 4am....

  • @ninacreatesonline
    @ninacreatesonline 7 หลายเดือนก่อน

    That was fun!!! Thanks

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

    Thank you Kevin ! At my start, I played a lot with Flexbox Froggy to (try to) understand all those concepts 😄

  • @barbaranewerla18
    @barbaranewerla18 8 หลายเดือนก่อน

    6 stars out of 5 for this video. I so of often was confused about what was happening with my content using flexbox in the pagebuilder...
    I wish you were the one developing this. Probably it would have turned out much less confusing 🙂

    • @Gearyco
      @Gearyco  8 หลายเดือนก่อน

      Glad it was helpful!

  • @007Babush
    @007Babush ปีที่แล้ว

    Great tutorial! Thanks a lot for doing these👍

  • @chillydoog
    @chillydoog 7 หลายเดือนก่อน

    31:41 The space between flex-child and .target:
    The space is a descendant combinator in CSS.
    It selects nodes that are descendants of a specified node.
    In this case, it means any element with the class target that is a descendant of an element with the class flex-child.

    • @Gearyco
      @Gearyco  7 หลายเดือนก่อน

      That's what I explained in the video, right?

    • @chillydoog
      @chillydoog 7 หลายเดือนก่อน

      100% and you did a great job as well! I just wanted to expand on some of the nuance here because if you're not playing close attention, I think it could be easily overlooked. Had to rewind the video a few times to let it sink in. What looks like could just be a typo (a singe space!) is actually a whole concept in CSS, this idea of a "descendent Combinator". @@Gearyco

    • @Gearyco
      @Gearyco  7 หลายเดือนก่อน

      Yeah, for sure. A lot of people miss that in the early stages. Seems like something that might not matter at first glance, but it's huge.@@chillydoog

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

    You are a Good Teacher ;) Thank you.

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

      Welcome!

  •  ปีที่แล้ว

    Great Job. solved one of my errors as well. and your right, say had to do a better job with naming things. very confusing from time to time.

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

    Thanks!

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

    Sorry, I am late for this lesson 😢. Flexbox is more confusing than Grid, I agree 😀 (items & content) !

  • @John.Rearden
    @John.Rearden ปีที่แล้ว

    Good lesson

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

    Thanks 🤩

  • @carmenyepiz3717
    @carmenyepiz3717 7 หลายเดือนก่อน

    Hi Kevin! I'm rewatching the entire series while building a new website with Bricks. Thank you again! I've been trying to find the video where you show how to visually change headings order (position) on the mobile version to prevent two blocks of text from stacking together. Could you help me identify the video, please?

    • @Gearyco
      @Gearyco  7 หลายเดือนก่อน

      I’ve done it a few times, most recently here: th-cam.com/video/KaLo2YT40UY/w-d-xo.htmlsi=rfFkVOXuypby_0dx

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

    He said he wants his box unmolested lmao im dying

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

      Doesn’t everyone?

  • @anis.science
    @anis.science ปีที่แล้ว

    If we install live preview extension, visual studio code will work just like codepen. I mean live preview not live server.

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

    l love the Codepen playground. After playing with the examples, I realized that I should be able to figure out how to make a read-more button aligned at the bottom of each child element card. I thought you had shown this solution in one of your PB101 videos but haven't found it. Can you give me a clue as to how to make read-more buttons align at the bottom of a number of children flexbox cards that each contain a heading, paragraph, and button?

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

      margin-block-start: auto; --- formerly known as margin-top: auto;

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

      @@Gearyco thanks. Will check this out. You are so helpful (and fast) 😀

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

    I gotta go get a snack mufkuh 😂

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

    I'll say flexbox is super confusing if we don't use Page Builder 😁.

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

      Page builders make it more confusing IMO. just depends on how you learned it originally I guess.

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

      @@Gearyco yeah, that's a valid point. I think why every page builder have to add different names for same setting 😅.

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

    😢

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

    so align-content should have been called align-wrapped-content 🤔🤔🤔

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

      Perhaps!

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

    pokin boxes, forcing children, playgrounds... you better watch out for the AI woke police buddy.😯👮😉