How Do Flex-Basis, Flex-Grow, Flex-Shrink Work? | CSS Flexbox

  Рет қаралды 9,405

The Code Creative

The Code Creative

Күн бұрын

Пікірлер: 106
@TheCodeCreative
@TheCodeCreative 4 жыл бұрын
To subscribe to the channel: kzbin.info/door/mOpHGj4JRWCdXhllVTZCVw
@faysalzoabi
@faysalzoabi 3 жыл бұрын
That is one of the best explanations on the internet. Amazing tutorial and great work. Thank you very much for your time.
@TheCodeCreative
@TheCodeCreative 3 жыл бұрын
Thanks for watching! 👍🏻
@SameeraSenarathna
@SameeraSenarathna 2 жыл бұрын
one of the best explanations I found on internet on lex-Basis, Flex-Grow, Flex-Shrink properties. Thank you.
@TheCodeCreative
@TheCodeCreative 2 жыл бұрын
Glad it was helpful!
@pratheekshenoy9327
@pratheekshenoy9327 3 жыл бұрын
This is the best and easiest explanation of Flex-Basis, Flex-Grow and Flex-Shrink I've ever came across.🤩🤩
@TheCodeCreative
@TheCodeCreative 3 жыл бұрын
Thanks Pratheek! Please share it with others 👍🏻
@pratheekshenoy9327
@pratheekshenoy9327 3 жыл бұрын
@@TheCodeCreative Sir, please make a video on HTML semantic tags and please explain it in detail.
@TheCodeCreative
@TheCodeCreative 3 жыл бұрын
@@pratheekshenoy9327 That's a great idea for a video Pratheek, thanks for the suggestions!
@chloehuang3554
@chloehuang3554 2 жыл бұрын
have long been confused about flex-basis. This video helps a looooot!!
@TheCodeCreative
@TheCodeCreative 2 жыл бұрын
Coooool Chloe!
@tanvirmazaumder7053
@tanvirmazaumder7053 3 жыл бұрын
never found a video that much helpful ....Keep up the good work sir,,,,
@TheCodeCreative
@TheCodeCreative 3 жыл бұрын
Thanks for watching!
@insPIreMath
@insPIreMath 2 жыл бұрын
Absolutely fantabulous!!! ❤❤❤💯💯💯💯💯💯💯💯💯💯💯💯💯💯💯💯💯💯💯💯💯💯💯💯💯💯💯💯💯💯💯💯💯💯💯💯💯💯💯🙌🙌👏👏👏👏👏👏👏👏👏👏💯💯💯💯💯💯💯💯
@TheCodeCreative
@TheCodeCreative 2 жыл бұрын
Glad it was helpful!
@femiadeyemo9023
@femiadeyemo9023 2 жыл бұрын
One of the best explanation have seen so far
@TheCodeCreative
@TheCodeCreative 2 жыл бұрын
Glad it was helpful!
@omaremad6347
@omaremad6347 3 жыл бұрын
thx was really confused till watching this vid. It clarified a bit more than I knew about flexbox in general plus of course these three props
@TheCodeCreative
@TheCodeCreative 3 жыл бұрын
Glad to hear!
@novanoskillz4151
@novanoskillz4151 4 жыл бұрын
This is an amazing tutorial. Thank you. other tutorials only skimmed the surface which I'm sure i speak for many of us when i say we were left with more questions and even less understanding. this video made EVERYTHING clear... thank you!
@TheCodeCreative
@TheCodeCreative 4 жыл бұрын
Great comment! Glad it helped. Thanks for watching👍🏻
@yofi2614
@yofi2614 2 жыл бұрын
One of the best explanation I have ever exposed to in the whole KZbin , slowly, precisely and right to the point! thank you very much! of course subscribed!
@TheCodeCreative
@TheCodeCreative 2 жыл бұрын
Thank you, glad it was helpful!
@daletron303030
@daletron303030 2 жыл бұрын
great video this one had more details than some other ones I've watched.
@TheCodeCreative
@TheCodeCreative 2 жыл бұрын
Glad to hear! I have a full Flexbox playlist here if you're interested: kzbin.info/aero/PLMPgoZdlPume0VJ6QW5RLpTMs6ToSxjq9
@OscarMartinez-nt6zn
@OscarMartinez-nt6zn 2 жыл бұрын
Great explanation! It filled the gaps, thanks so much for the effort.
@TheCodeCreative
@TheCodeCreative 2 жыл бұрын
Thanks Oscar, glad it helped!
@6991Jon
@6991Jon 2 жыл бұрын
Very concisely explained. Good job.
@TheCodeCreative
@TheCodeCreative 2 жыл бұрын
Great, thanks for watching!
@musaddiqali1
@musaddiqali1 2 жыл бұрын
Thanks. I was very confused on this topic until I watched your video. You explain really well. Good for beginners like me.
@TheCodeCreative
@TheCodeCreative 2 жыл бұрын
That's great to hear! Thanks for watching!
@jjnngguuyyeenn
@jjnngguuyyeenn 4 жыл бұрын
holy **** this is some pro level explaination!
@TheCodeCreative
@TheCodeCreative 4 жыл бұрын
Thanks for checking it out!
@subhashgn1775
@subhashgn1775 2 жыл бұрын
Absolute masterclass... Very well explained.
@TheCodeCreative
@TheCodeCreative 2 жыл бұрын
Great, thanks for watching!
@mohamedyoussef8835
@mohamedyoussef8835 2 жыл бұрын
Finally, I understand flex completely +++++++++++++++++++
@TheCodeCreative
@TheCodeCreative 2 жыл бұрын
Great!
@reallygoodstuff4441
@reallygoodstuff4441 2 жыл бұрын
Best video of css in my life🔥
@TheCodeCreative
@TheCodeCreative 2 жыл бұрын
😀
@Miodrag0204
@Miodrag0204 2 жыл бұрын
Awesome! Thanks for sharing your knowledge!
@TheCodeCreative
@TheCodeCreative 2 жыл бұрын
Glad it was helpful!
@eumm11
@eumm11 2 жыл бұрын
Brilliant explanation, thank you!
@TheCodeCreative
@TheCodeCreative 2 жыл бұрын
Glad it was helpful!
@caerulemusic
@caerulemusic Жыл бұрын
You're a fantastic teacher. Thanks so much for the clear explanations. Subscribed and will be checking out your other stuff too
@TheCodeCreative
@TheCodeCreative Жыл бұрын
Awesome, thank you!
@christianllungo4720
@christianllungo4720 3 жыл бұрын
Thank you. That was a clear explanation.
@TheCodeCreative
@TheCodeCreative 3 жыл бұрын
Great, glad to hear that Christian! What other topics would you be interested in seeing?
@amjadomar2396
@amjadomar2396 2 жыл бұрын
Finally I understood flex-basis YEAAAH
@TheCodeCreative
@TheCodeCreative 2 жыл бұрын
Great! 👍🏻
@SarthakGamer
@SarthakGamer 3 жыл бұрын
very well explained.
@TheCodeCreative
@TheCodeCreative 3 жыл бұрын
Thanks for watching Sarthak!
@mildernavarro865
@mildernavarro865 3 жыл бұрын
Really good explanation Thanks!
@TheCodeCreative
@TheCodeCreative 3 жыл бұрын
Glad it was helpful!
@jules7787
@jules7787 2 жыл бұрын
Thank you! You explained this really well!
@TheCodeCreative
@TheCodeCreative 2 жыл бұрын
Great! Thanks for watching!
@rammaheshwari9748
@rammaheshwari9748 3 жыл бұрын
Great Explanation
@TheCodeCreative
@TheCodeCreative 3 жыл бұрын
Thanks!
@mohamedyoussef8835
@mohamedyoussef8835 2 жыл бұрын
Awesome tutorial +++++ thank you 🙂🙂
@TheCodeCreative
@TheCodeCreative 4 жыл бұрын
🗣JOIN the Code Creative Facebook group! : facebook.com/groups/1612600368887577
@temisegun8631
@temisegun8631 3 жыл бұрын
really enjoyed this. well explained. thanks for sharing :D
@TheCodeCreative
@TheCodeCreative 3 жыл бұрын
Thanks Temi, glad to hear!
@dannylake1968
@dannylake1968 4 жыл бұрын
Flex basis always used to confuse me especially how it related to width and height of the child items... not anymore!
@TheCodeCreative
@TheCodeCreative 4 жыл бұрын
Flex-basis is definitely the one that seems to cause the most confusion. Glad it helped!
@TheCodeCreative
@TheCodeCreative 2 жыл бұрын
📖 Download my FREE "Google Search Secrets for Developers" Cheat Sheet: store.thecodecreative.com/google-secrets-cheat-sheet
@manuelguerrero9917
@manuelguerrero9917 2 жыл бұрын
You are amazing man.
@TheCodeCreative
@TheCodeCreative 2 жыл бұрын
I appreciate it. Thanks for watching!
@richardmarks2957
@richardmarks2957 2 жыл бұрын
Thanks for a great explanation. On a couple of occasions you conjured up a measuring device to measure sizes on screen. Could you explain how you did that please, it looks really useful.
@TheCodeCreative
@TheCodeCreative 2 жыл бұрын
Thanks Richard! I'm not exactly sure which measuring device you're referring to but, if you're on a Mac, it could be Command + Shift + 4.
@emmanuelojuba2494
@emmanuelojuba2494 2 жыл бұрын
Thank you for a very good video! Please what tool did you use to measure pixel sizes on your browser?
@TheCodeCreative
@TheCodeCreative 2 жыл бұрын
It's built into the Mac. Shift + Command + 4 will allow you to see those measurements. Thanks for watching Emmanuel!
@vougedeals3978
@vougedeals3978 3 жыл бұрын
great explanation!
@TheCodeCreative
@TheCodeCreative 3 жыл бұрын
Thanks!
@ChristianMay21
@ChristianMay21 3 жыл бұрын
What a detailed but concise explanation! Thanks so much for the video.
@TheCodeCreative
@TheCodeCreative 3 жыл бұрын
Hi Christian, thanks for the comment and for watching!
@originunknown4273
@originunknown4273 3 жыл бұрын
Great content. Thanks.
@TheCodeCreative
@TheCodeCreative 3 жыл бұрын
Thanks for watching!
@ignaciodelamadrid
@ignaciodelamadrid 2 жыл бұрын
Yo! You have great teaching skills! This is by far the best explanation I've watched about these flex properties. Can I be a little bit an ass and suggest that you add the shortcut for the three props: `flex: [flex-grow] [flex-shrink] [flex-basis]`? There are a lot of code bases using this obscure shortcut and I had to read the MDN docs to understand it. Anyway, kudos on this video!
@TheCodeCreative
@TheCodeCreative 2 жыл бұрын
Thanks Ignacio! That's a good suggestion to add the shortcuts. Maybe I'll do a separate video actually on flex shortcuts. Thanks for watching 👍🏻
@arunkaiser
@arunkaiser 3 жыл бұрын
Great dude
@TheCodeCreative
@TheCodeCreative 3 жыл бұрын
Thanks Arun!
@hughluo8494
@hughluo8494 2 жыл бұрын
Thanks a lot !
@TheCodeCreative
@TheCodeCreative 2 жыл бұрын
Your welcome, thanks for watching!
@3042640426
@3042640426 3 жыл бұрын
u r amazing !! Thank you so muchhhhh~
@TheCodeCreative
@TheCodeCreative 3 жыл бұрын
Thanks for watching!
@abidhasansnigdho
@abidhasansnigdho 3 жыл бұрын
Just WOW! 👍
@TheCodeCreative
@TheCodeCreative 3 жыл бұрын
👍🏻👍🏻👍🏻
@mobilenews628
@mobilenews628 4 жыл бұрын
great video. You should need to explain your points with example. Thank you keep it up.
@TheCodeCreative
@TheCodeCreative 4 жыл бұрын
Thanks Ziaul!
@hassanmehmood8711
@hassanmehmood8711 2 жыл бұрын
Which extension are you using for the measurement of pixels?
@TheCodeCreative
@TheCodeCreative 2 жыл бұрын
If you're on a Mac, you hold down Shift + Command + 4. I'm not sure what the equivalent would be on Windows.
@shahriaromi715
@shahriaromi715 3 жыл бұрын
great video
@TheCodeCreative
@TheCodeCreative 3 жыл бұрын
Glad you enjoyed it
@niteshagarwal9622
@niteshagarwal9622 3 жыл бұрын
At 5:34, I thought my laptop fell sideways ;)
@TheCodeCreative
@TheCodeCreative 3 жыл бұрын
haha
@arturogomez7026
@arturogomez7026 3 жыл бұрын
Why not just use width? Or height? Why flex-basis?
@pauls1883
@pauls1883 5 ай бұрын
More guitars, please 😂
@TheCodeCreative
@TheCodeCreative 5 ай бұрын
🎸🎸🎸🎸🎸
@dhruv.pandey93
@dhruv.pandey93 4 жыл бұрын
What happens if each child has flex basis of 25% and then you give flex-grow=2 to 2nd item?
@TheCodeCreative
@TheCodeCreative 4 жыл бұрын
Hi Dhruv, in that case, if there are 4 child items at 25% each, there won't be any additional space left in the container for flex-grow to apply itself to. So setting the 2nd item to flex-grow = 2 shouldn't have any effect.
@dhruv.pandey93
@dhruv.pandey93 4 жыл бұрын
So the grow property utilities extra available space of container. Thank you so much. It was never this clear✌️
@TheCodeCreative
@TheCodeCreative 4 жыл бұрын
@@dhruv.pandey93 yes, you got it. It's all about apportioning the remaining space in the flex container.
@Kevessi
@Kevessi 3 жыл бұрын
1:56 lol he didn’t just use that sound effect
@TheCodeCreative
@TheCodeCreative 3 жыл бұрын
haha
@grgndlkvdn4v
@grgndlkvdn4v 2 жыл бұрын
Great explanation. Thank you, sir!
@TheCodeCreative
@TheCodeCreative 2 жыл бұрын
Glad it was helpful!
Scroll Trigger Tutorial - 1 - Getting Started
13:33
The Code Creative
Рет қаралды 126 М.
CSS Flex Basis (flex-basis) Explained - Beginner Flexbox Tutorial
11:41
Front End Beginners
Рет қаралды 4,1 М.
Officer Rabbit is so bad. He made Luffy deaf. #funny #supersiblings #comedy
00:18
Funny superhero siblings
Рет қаралды 19 МЛН
How I Turned a Lolipop Into A New One 🤯🍭
00:19
Wian
Рет қаралды 10 МЛН
🕊️Valera🕊️
00:34
DO$HIK
Рет қаралды 6 МЛН
6 Advanced Flexbox Features You Probably Don’t Know
14:54
Web Dev Simplified
Рет қаралды 116 М.
Please stop using px for font-size.
15:18
Coder Coder
Рет қаралды 194 М.
How to take control of Flexbox
16:01
Kevin Powell
Рет қаралды 137 М.
Flexbox is more complicated than you thought
22:42
Kevin Powell
Рет қаралды 154 М.
ENERGIZE Your Animations with GSAP EASES!
7:21
The Code Creative
Рет қаралды 270
Flexbox design patterns you can use in your projects
15:33
Kevin Powell
Рет қаралды 443 М.
The Ultimate CSS3 Flexbox Tutorial - Colt's Code Camp
59:15
Colt Steele
Рет қаралды 99 М.
Flexbox Basics: flex-grow, flex-shrink, flex-basis
19:54
Brad Hussey
Рет қаралды 1,1 М.
The thing people get wrong about flex-basis
9:00
Kevin Powell
Рет қаралды 61 М.