Flex box finally something in css that works as expected.
Holy frick I never thought of that, thanks Kyle, I always used to wrap middle contents with another flexbox and then do justify-content space between.
This is one of the greatest benefits to flex box for some reason I’ve never used. Love it 🎉
Flexbox is a game changer in CSS spacings and content alignments are perfect ,easy & more more responsive.
Bruh… ive been trying to find a shortcut to what you did in the end there for literally years 😂 thank you for finally closing that search
This has been my go to way of making my footer stick to the bottom of the screen in all my layouts 🚀
It still impresses me just how adaptable layouts can be when using flex box.
that was sick !! i always tend to flex-box justify center the middle one
Flexbox is one of the best things that happened in CSS.
This guy is in the wrong profession, he should be in the movies
Thanks homelander for the valuable information 😀
this is so useful for header with avatar and navs
I spend so much time aligning headers, this looks like it makes it way, way easier.
you can do margin bottom and top auto as well when it's a column direction ⬇️ i believe.
Instead of margin-left and -right, I recommend using margin-inline-start margin-inline-end. This way even if the website's direction changes to right to left, the auto margin won't break as it adapts
Wow man. Who would have thought watching shorts is also going to be a method of learning. I'm definjtely going to try this, as I'm learning web develepment these days.
Very useful Tip that I didn't know. I have faced problems making navigation bars now I will just use this!.
I tried to flex my war crimes but couldn't justify it
I’ve been looking for this solution for a long time! I never knew margin-left: auto would have such an effect
@WebDevSimplified