1:45 min in and already able to wipe out a bunch of complexity in my css thanks to gap. Really awesome tip! Thank you!
@hikari16902 жыл бұрын
Ikr? When I learnt about gap it's now everywhere. Sometimes I feel like I'm overusing them/using them in the wrong applications but hey! It works
@ducksquidbat83152 жыл бұрын
@@hikari1690 yeah, I was just using margins on pseudo classes but this is much easier
@kyleb811711 ай бұрын
Really appreciated the "flex:" command breakdown. I read a guide on flexbox and it sort of made sense but it was really nice to see it in action and explained thoroughly (especially the flex-basis part). Really like the auto margin trick. Gonna try to keep that one in mind for the future.
@sajjadkazemi2 жыл бұрын
Can you make videos about "scroll snap" , "subgrid" and "container query" . Thanks 👍
@人天-i5s2 жыл бұрын
Would be great
@zaidkamil2 жыл бұрын
Yes please do those
@ofeenee2 жыл бұрын
Yes please!
@users9722 Жыл бұрын
+
@SaiponathGames Жыл бұрын
👍
@swanand63002 жыл бұрын
Last margin auto part will be really helpful.. I am always struggling with this in Hybrid Applications.
@wasd31082 жыл бұрын
what's a hybrid application? where would it be helpful?
@CaliburPANDAs2 жыл бұрын
Kyle with these BANGERS. keep it up 💪🏻
@Rizwana1212 жыл бұрын
Wow. Great video. To the point and every second is increasing my knowledge. Thank you so much.
@dominicanfrankster2 жыл бұрын
Another hit. I'll have to re-watch the flex-basis part a couple of more times 😂
@blender3d2482 жыл бұрын
I love this! There are so many times when my CSS gets all complicated to do just one simple thing. Now, with flex I'm able to accomplish what my website needs. Thank You!
@angelavolluz54992 жыл бұрын
I now understand how the flex-basis works! This should help tremendously in setting up an online store I'm building-Thank You Kyle!
@jorgegamboa5408 Жыл бұрын
I gave it a like before even watching it, that’s what my expectations are in this channel.
@RocketGorillz5 ай бұрын
This is the best video about flexbox's ever dawg thanks so much
@Lucsy30122 жыл бұрын
The explanation for the flex-basis was actually really helpful because I also thought it was just basically a copy of width just for the flex context. Thanks!
@knight_kazul2 жыл бұрын
This was super helpful; filled in a lot of gaps in my knowledge. Flexbox is truly amazing. A video like this about CSS grid would also be awesome.
@Brunoenribeiro2 жыл бұрын
The flex-basis part was so helpful... thanks!
@palandrascsokan6382 жыл бұрын
Hey Kyle, thanks for this video, now I know how to position certain elements in flexbox, which I wouldn't have known without this tutorial. Cheers!
@adityanayak012 жыл бұрын
Love this and ur CSS Course.
@appuser2 жыл бұрын
This video rocks, having a great time following along! However, I'm already a wizard at this just from playing flexbox zombies (covers most of these "advanced" tricks.), but also a shout out to flexbox froggy.
@clevermissfox Жыл бұрын
Flex grow, flex shrink and flex basis are properties that just aren't sticking with me. This video def helped get me closer though, thank you!
@archicoders7560Ай бұрын
The most powerful part of flex is that three
@clevermissfoxАй бұрын
@archicoders7560 haha yes, I am much more useful with th flex properties now 😆 I love flex grow and wrap
@Uncaught_in_promise2 жыл бұрын
This is absolutely fabulous stuff. I didn't know many of these tricks.
@yt-sh2 жыл бұрын
Thank you for this! Always wanted to know more about flex box
@haliszekeriyaozkok48512 жыл бұрын
Only i didn't know writing-mode property but thanks to you i learned it. Also there is worthy details about flex grow-shrink-basis properties way of working, so thank you.
@triscuit51032 жыл бұрын
yav hee hee gardas oyle tabii
@haliszekeriyaozkok48512 жыл бұрын
@@triscuit5103 Sana ve diğerlerine yalan borcum mu var?
@triscuit51032 жыл бұрын
@@haliszekeriyaozkok4851 yok tabii hiç olur mu? Hepsini biliyorsundur sen en şampiyon sensin en iyi sensin onu diyorum ben de işte topraaaam
@haliszekeriyaozkok48512 жыл бұрын
@@triscuit5103 Ne alakası var? Bu kodların çoğunu kevin powell ve netninja kullanırken görmüşdüm. Flex ile alakalı en temel kodları ve "flex-wrap: wrap;" kodunu bizzat bende kullandım. Elbetde bu işi kyle kadar iyi bildiğimi iddia etmiyorum ama adam madem videosunun sonunda "bunların hangilerini evvelce biliyordunuz yazın" mealinde talebde bulunmuş bende ona binaen yazdım. Niye bu kadar hazımsızlık tecrübe etdin onu anlamadım :D
@triscuit51032 жыл бұрын
@@haliszekeriyaozkok4851 aşırı iyisin ya müthişsin, bir tek writing mode bilmiyordum diye yazan bir kişi bile yok, en şampiyon sensin rabbime Muhammede yeminler olsun bismilaaaahahahah
@andySip8082 жыл бұрын
Didn't know about gap. Always thought that was just a css grid thing. Thank you!
@willsoe2 жыл бұрын
Can you make a video clarifying how to use images in flexbox? I always find that it's difficult to get the two working together, especially with dynamically scaling images inside flex
@ibgib2 жыл бұрын
Had no idea on the auto margins and like many, the wrong idea on flex basis. Thanks a lot!
@EvertJunior2 жыл бұрын
Amazing! Thank you so much. I haven't used flex basis so far but its really helpful, I also didn't know I had to include wrap when I need to justify horizontally.
@chrishawk118 Жыл бұрын
exactly😅😅
@linuxsever5727 Жыл бұрын
Amazing video! Thanks a lot man!
@Human_Evolution-2 жыл бұрын
Gap is a the only thing useful for me. Thanks homie.
@eagleman98 Жыл бұрын
i finally understand the flex shorthand, thanks 👍
@firestormmultigaming86972 жыл бұрын
Im soooo happy I knew all 6 and its really thanks to you so thank you Kyle
@Rust_Rust_Rust2 жыл бұрын
No you didn't
@abubakar_bd9 ай бұрын
It's a really awesome video. Thank you so much for your video.
@chezchezchezchez2 жыл бұрын
Awesome content! I learned a lot about Flex-basis
2 жыл бұрын
Great video. It would be nice if you could have squeezed in how min/max-width and overflow interact with flex-basis. Imho this gets important when using flexbox for positioning components/widgets.
@dalsi15422 жыл бұрын
Amazingly useful!
@ahsath2 жыл бұрын
i love the fact that the thumbnail image worked for me haha, really struggle with those flex properties
@thecutedreamkostasp.44492 жыл бұрын
Last tip is priceless thx!
@tropicalverktaki Жыл бұрын
I didn't know about the auto margins, very cool.
@iJuce2 жыл бұрын
Please do even more of these !
@Landon_Hughes2 жыл бұрын
The flex-basis and width explanation is SUPER helpful! Thank you for saving me from future headaches at work ✊
@Acuce7ibd468j2 жыл бұрын
First time hearing in the writting mode . Thanks
@charbelboughazale39942 жыл бұрын
Just in Time when i needed to use flexBoxes, THANK YOUUUU!!!!!!!!!!!!!!!!!!!!!
@wildwolf637 Жыл бұрын
it's like the movie inception! Love it!
@SoulStitch11112 жыл бұрын
Thank you for this. I found you in my journey to discover how to utilize FLEXBOX with an 'On-scroll Sticky Nav' that will 'break' at 760px to hide under the hamburger. I have found info on the sticky, and on the hamburger, but getting them to play together has been eluding me. Of course working til 1am and later doesn't help. I'd love for someone to give an explanation on the failsafe way to insert snippets of code, like from github or codepen into a file, and make it work. I know, that's a lot to wish for. finding the right rhythm/path to learning to troubleshoot would be a good topic, maybe?
@alexg49272 жыл бұрын
Brilliant video, thanks!
@elco79562 жыл бұрын
When you use flex: 1, it is equivalent to flex: 1 1 0%. This means that the element will have a flex-grow value of 1, a flex-shrink value of 1 (not 0), and a flex-basis value of 0%.
@wdsenjoyer99602 жыл бұрын
Great content!
@mohammed.haydar2 жыл бұрын
I knew all of these properties, but a great useful video anyways ❤👍🏼
@Rust_Rust_Rust2 жыл бұрын
No you didn't
@mohammed.haydar2 жыл бұрын
@@Rust_Rust_Rust u right
@mohammed.haydar2 жыл бұрын
@@Rust_Rust_Rust and I'm wrong , and yeah u know u r right and I'm wrong
@dericbytes2 жыл бұрын
very useful. thanks
@gillbates96682 жыл бұрын
That margin part was very useful for me
@raisama43142 жыл бұрын
I have done like 16 frontend mentor project and i never used flex shrink/grow/basis the thing is i used flexbox for all the project i think it's time to use the flex property thanks kyle
@ILoveWordPress2 жыл бұрын
The gap property is indeed fantastic, it makes building layouts and grids soooo much easier. Twenty years ago people would faint in shock if they would see what modern CSS can do :)
@NedumEze2 жыл бұрын
You're right, flex-basis is mystifying! But, you didn't treat like it is: hard to understand. Could you do another video on the relationship between element width and its flex-basis? Please.
@owaiszahoor52832 жыл бұрын
Thank you for this content
@amoliski2 жыл бұрын
Wow, the gap property is a game changer for me, time to go refactor a few thousand lines of styles...
@Slava-om1sz3 ай бұрын
Is there a way to make boxes 234 jump on the second row while box 1 and 5 stay in the first row when there is not enough space for all 5 of them?
@Kim-by5uy2 жыл бұрын
I feel happy that I already knew all of these
@abdullahawisimulaha2 жыл бұрын
actually you have column-gap and row-gap in flex as well, so you can further custimize these wrapped spacing ;)
@dr.d36002 жыл бұрын
So much quite awesome skill, how cool you are😎
@leeblackburn3571 Жыл бұрын
I thought "flex: 1" sets "flex-shrink" to 1, not 0? (at 7:50)
@pbryan19679 ай бұрын
Good to see the mandatory guitar in the background.
@johnm83582 жыл бұрын
Best flexbox tutorial?
@weishanchew Жыл бұрын
7:57 isn't flex shrink set to 1?
@whonayem012 жыл бұрын
Thanks a lot.
@anvayjain41007 ай бұрын
I will indeed have a good day, thanks to this video.
@abd-ulbasit2 жыл бұрын
Thanks
@JaredCaprio6 ай бұрын
11:47 Confirmed fixed gear rider
@boring912 жыл бұрын
For the flex-basis part, that means changing the flex-basis of the second child to 200px is the same as setting its width only to 200px, am I right? If that's the case, then what's the point of having flex-basis, can't we just use the width?
@levani78512 жыл бұрын
I think if you set width property, that element will not be able to grow, maybe you can use min-width property.
@julien.roques2 жыл бұрын
"You are probably familiar with flex-grow, flex-shrink and flex-basis, but you probably don't know about the shorthand flex property" 👉 well, that is the exact opposite, most people know about flex, but a lot less know about the 3 others.
@zull_n15942 жыл бұрын
Bro, I want to ask for advice, what's good, for those who learn JavaScript, it's better to go directly to node.js or react.js? Or is there still something I still have to learn?
@broomybroomybroomy2 жыл бұрын
Node is a runtime environment, it’s not really something you have to learn. It just lets you run JS outside of a browser I would absolutely just learn vanilla JS before React or any framework. In fact, I would even learn any more strongly typed language before a framework, like C++ or Java. Or even typescript. That way, you’re already thinking more on a low-level and you’re more prepared when you encounter errors, which you will.
@AlvinIsChipmunk2 жыл бұрын
Didn't know about the writing direction thing, was using only flex-direction:column all this while :/
@krisbude96072 жыл бұрын
with flex property set to 1, besides flex-grow:1 and flex-basis-0..... the flex-shrink property is defaulted to 1 instead of 0
@emmanuelxs61432 жыл бұрын
I have been using the gap property for a while really love it. but I found out that it's not supported in internet explorer and Microsoft edge browsers. can you write a good polyfill @supports for it. but wait... @supports isn't supported in those browsers 😅. Kyle say STH Please.
@vinodbavisetti59262 жыл бұрын
thank u.
@ajiteshmishra00056 ай бұрын
How to center div element in HTML5???
@carteblanche91652 жыл бұрын
How to set vertical and horizontal gap separately?
@judody52 жыл бұрын
You can use row-gap and column-gap ;)
@roshanlalsahu78462 жыл бұрын
can you please tell me the use case of writing mode
2 жыл бұрын
It is used if writing in Chinese or Hebrew. It can also be helpful if you have design where text is rotated by 90%. Unlike rotating with tranform it is still participating in layout.
@pankajbhatt51699 ай бұрын
in child elements why he added `flex-wrap:wrap` as it is a property of the container the holds child can anyone enlighten me on this ? video mark 1:35
@pouriyanourouznejad70902 жыл бұрын
Kevin told us about these 😁
@calistusobeke75202 жыл бұрын
Awesome
@teippiviritykset2 жыл бұрын
gap does not work in Safari, that's horrible
@freespeech5152 жыл бұрын
No need for many divs then. Create table with minimal css flex. For Datagrid
@emilOnYoutube2 жыл бұрын
I use flexbox daily, I thought you can't say nothing new to me, but I was wrong, luckilly :)
@RobLao2 жыл бұрын
I wish I have this video two weeks ago as one week ago I failed an interview due to I knew nothing about the "gap" T.T
@overwatch96592 жыл бұрын
🙏🏽
@catalinim42272 жыл бұрын
the width of elements for flex should be flex-basis
@BGdev3052 жыл бұрын
You are the Michael Jordan of code
@lucienchu96492 жыл бұрын
flex-shrink and flex-basis always confuse me.
@gwemula Жыл бұрын
flex basis 😵💫😵💫😵💫😵💫😵💫
@khaled-dev2 жыл бұрын
when you are stuck at this exact thing and it gets into you recommendations from heaven 🙏😇
@geforcesong2 жыл бұрын
margin auto rocks
@yadav_rupak2 жыл бұрын
Love From Nepal ❤️
@adityajoshi28692 жыл бұрын
damn, kati chito bro 😆
@yadav_rupak2 жыл бұрын
@@adityajoshi2869 haha , nepali honitw
@rishiraj25482 жыл бұрын
🙏👍
@Anth-ony2 жыл бұрын
I couldn't get past you spelling out R.E.M. instead of just saying "REM" lol.
@JasonJA882 жыл бұрын
I've written too much CSS didn't see anything new 😢... .box:nth-child(3n+2){margin-left: auto;} for that last example
@chrisfelicien2 жыл бұрын
Hey Kyle i think king of css is watching this i'll ask for batle😀😀😀😀😀😀
@leonelcenteno38166 ай бұрын
Hi there, needless to say how much I appreciate your content. However, I'll be great if you could throw in some real examples, or small project of your own that showcases these techniques.
@ReligionAndMaterialismDebunked2 жыл бұрын
REM is better than PX. :3
@alanklm2 жыл бұрын
this doesn't sound like something advanced to me.. do people really miss this things about flexbox?
@abderrahimtamda39902 жыл бұрын
100%
@selvamkarthik96052 жыл бұрын
Dear brother : I saw your videos all are very useful to me grow my career, but u speak speed, please speak little bit slow some times i can't understand your words, because I am from non native English speaker basics , This is my kind request.