Тёмный

Flexbox Tutorial - Flexbox Items 

Kevin Powell
Подписаться 943 тыс.
Просмотров 86 тыс.
50% 1

Опубликовано:

 

27 сен 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 93   
@neilduran2335
@neilduran2335 3 года назад
I wish I had discovered Kevin and his CSS skills many years ago!
@gradysantiago8533
@gradysantiago8533 3 года назад
You probably dont give a shit but does anybody know a tool to get back into an instagram account? I was dumb forgot my login password. I love any tricks you can give me
@salentipy
@salentipy 4 месяца назад
Same!!!
@TheElkster
@TheElkster 4 года назад
It's weird because I feel I have read about 'Flex' endlessly and watched heaps of videos and still never really 'got' it... but having watched your first two videos with examples.... things are really starting to fall into place! I would love to see a few 'real life' examples of actual content with the various Flex grow/shrink/basis being used as 'Designing' isn't one of my fortes and I often get stuck with laying out content in a visually stimulating way! :) Thanks Kevin ;)
@programmingempire9306
@programmingempire9306 2 года назад
You are a really rockstar when it comes to website building. I think you are a fantastic educator here in RU-vid and the hole community is very lucky to have someone like you who explains very deeply on specific topics.
@salentipy
@salentipy 4 месяца назад
I FINALLY know how flex-shrink and flex-grow work! 👏👏👏👏👏👏😃
@pheautube6820
@pheautube6820 3 года назад
Out of all the css tutorials I have learned, you have provided the most clarity. Thank you
@KevinPowell
@KevinPowell 3 года назад
Glad you liked the video 😃
@thewetfly9207
@thewetfly9207 6 лет назад
I've thought about concept of rearrangement of elements in different devices for a long time. Thank You Kevin to show me the solution!!
@KevinPowell
@KevinPowell 6 лет назад
Glad it helped!
@mladenkaorlic
@mladenkaorlic 2 года назад
Best developer teacher I have ever had! Thank you for this content!
@BruceThereItIs96
@BruceThereItIs96 Год назад
Wow this list of 3 videos is great! really starting to pickup this Flex box stuff!
@saurabh75prakash
@saurabh75prakash 2 года назад
Came here from CRL, thanks Kevin! for the awesome videos.
@SamDoesTutorials.
@SamDoesTutorials. Год назад
Thanks, Kevin! I am so grateful for these tutorials; you have no idea... I had the basics of HTML for years, but I always used divs to center things on my website. Now, this flexbox is like... magic. I want to learn coding, so I started from teh bottom. There's a long road ahead for me, but I'm determined to keep going, keep improving every day, cause I want better things in life. 5am and I'm still learning. Stay up, kings!
@sumanmazumder110
@sumanmazumder110 3 года назад
Really, this video is solved my all doute in flex-shrink, flex-basis, flex, flex-grow
@ethanmcmahan573
@ethanmcmahan573 Год назад
Thanks Kevin love your videos
@jamielightsparks1154
@jamielightsparks1154 4 года назад
Awesome teaching! first time learning flex and after 2 videos i'm really getting it.. thank you
@OsvaldoNetoTomaz-et5yt
@OsvaldoNetoTomaz-et5yt 6 месяцев назад
that guy is awesome he has a way to teach things, I've always went into CSS Grid because seems like better, but in fact, the Flexbox works very well, we need to understand it, I'm not telling to anyone stop to use CSS Grid, each one of them has the better time to be at scene, what I'm trying to say is that right now I just look Flexbox in a very nice better way that before to know Kevin Videos... :)
@luiscolome75
@luiscolome75 5 лет назад
Amazing, now I understand how flex-basis and flex-grow work. Thanks for your work. It would be nice to see how to use it in a common post grid of any blog theme or html template. :)
@vochauthanhhuy2250
@vochauthanhhuy2250 3 года назад
Easy to understand how flex layout work! Thank you so much
@hectorg362
@hectorg362 3 года назад
Thanks for this! the flex property always confused me but you managed to help me understand it.
@vivekkumar-pc1xy
@vivekkumar-pc1xy 2 года назад
i'm admire you so much. One day I will become like you
@procrastinator24
@procrastinator24 2 года назад
thanks for your videos! they really help
@lola_ownss
@lola_ownss 3 года назад
thank you thank you thank you I was so confused before! 😂
@nuttaphonr.6498
@nuttaphonr.6498 3 года назад
Thanks ! Nice explain and example of flex 1:48 flex-grow default is 0 2:20 flex-shrink default is 1 2:25 flex-basis describe how much space it want to take 3:47 flex-grow: 1 grow to fill space (even if you fixed size) 5:06 flex-shrink shrinking faster 6:28 flex: grow shrink basis 8:35 align-self align only it self 9:24 order change order of item
@ren2674
@ren2674 2 года назад
You are a lifesaver!
@BharatParajuli
@BharatParajuli 3 года назад
Thank you.
@NikhilVijayan
@NikhilVijayan 6 лет назад
These are really helpful Kevin, thank you!
@KevinPowell
@KevinPowell 6 лет назад
So glad that I've been able to help!
@danielwicklow516
@danielwicklow516 2 года назад
This video is awesome!
@biglidio
@biglidio 5 лет назад
Thank you, Kevin! This video was very helpful! Take care of my like! Bye
@honiel59
@honiel59 2 года назад
Thank you for your amazing explanation.
@nickygello9105
@nickygello9105 3 года назад
thank you sir
@ga7853
@ga7853 6 лет назад
Really nice and fulfilling, I need to remember or memorize all that, Thanks a lot.
@KevinPowell
@KevinPowell 6 лет назад
Very hard to memorize it all. Just start building a lot of things with flexbox and it slowly starts to sink in :)
@asawreviews4270
@asawreviews4270 7 лет назад
Interesting videos; I'm going to include some code in my comment dealing with flexbox that I don't see anyone addressing. With just a few lines of code you can produce flexboxes that are self-responsive (no media queries required) and designed to follow the Golden Ratio.. flex-container { display: flex; flex-flow: wrap; width: 100%; } .flex-col-sm { flex: 1 1 38.2%; min-width: 18.33rem; } .flex-col-lg { flex: 1.61803 1.61803 61.8%; } note, the min-width is what creates the responsive break. Hope you find this interesting.
@KevinPowell
@KevinPowell 7 лет назад
Nice, thanks for sharing that! The only problem I could potentially see is the small column being a lot bigger than the large column, but a media query to have them stack would take care of that :)
@asawreviews4270
@asawreviews4270 7 лет назад
Setting the flex-flow to wrap has the same effect as a media query; when the browser reaches the min-width of the smaller column the columns wrap and fill the container 100%; you would want to set different min-width if you were nesting the columns.
@KevinPowell
@KevinPowell 7 лет назад
Oh man, I should have thought of that. Cool solution, I like that a lot!
@SushmitGaur
@SushmitGaur 6 лет назад
Kevin Powell i didn't get this could u please make a video on this 😁
@IamPetrus
@IamPetrus 3 года назад
thank you master!!!
@Explore2Adore
@Explore2Adore 4 года назад
Thanks Kevin 🙂👍
@JimKernix
@JimKernix 4 года назад
I don't understand, are you supposed to have all 3 on for all the flex items?
@WebDeveloper682
@WebDeveloper682 Год назад
nice video
@ChrisTarasovs
@ChrisTarasovs 5 лет назад
Great videos, this was useful recap :)
@devT44
@devT44 Год назад
How align-self:baseline works?
@LuStyleCa
@LuStyleCa 3 года назад
I used the exact same code as in the video, but my content is not responsive when I change the screen size. What can that be?
@kaustubhmaladkar869
@kaustubhmaladkar869 3 года назад
Where is your codepen link? I can't find it in the description
@sivabalanj
@sivabalanj 3 года назад
daym..... if u change flex-shrink .... it grows at the same rate as it shrinks under that mentioned 250px if u change flex-grow.... it shrinks at the same rate as it grows after that mentioned 250px they must rename it as.... flex-more-space-available-accelerations for flex-grow flex-less-space-available-accelerations for flex-shrink.... cause they both change the acceleration speed of both growing and shrinking......just under different situations.... (i was just kidding about that renaming thing....)
@Pareshbpatel
@Pareshbpatel 2 года назад
Excellent tutorial on flex-item properties. Thanks, Kevin {2022-07-04}, {2022-12-02}
@CarmeloMormina
@CarmeloMormina Год назад
Hi @Kevin, I really enjoy your tutorials and they helped me figure out a lot of things or simplify/improve old code I was using. However, using flex, what I don't quite understand is how to stack a set of 6 divs side by side into a set of 3 or 2 or 1, based on the available horizontal space. Do you have any tips for this?
@raisultan2649
@raisultan2649 6 лет назад
nice tut
@KevinPowell
@KevinPowell 6 лет назад
Thanks :)
@MontyKsycki
@MontyKsycki 5 лет назад
Thank You!!! :)
@ravindrap884
@ravindrap884 3 года назад
Hello @kevin its nice, but how it will work if the 9 item is there and it has 20px margin. i was faced issue with card ui. because i have a margin to item, and there is remaining space in right side on some of resolution. can u please make card layout sample in flex with margin to item like 20px. it should be not break on any browser and it should be grow with grid layout on all resolution thanks :)
@gagandeepsingh-zx6zy
@gagandeepsingh-zx6zy 7 лет назад
Nice video sir and 1 request sir please make a video how to set payment option in WordPress eCommerce website like how to set pay pal,pay u money and cash on delivery
@KevinPowell
@KevinPowell 7 лет назад
I would look into a Stripe plug-in, or something more comprehensive such as WooCommerce. I wouldn't set up my own payment system, way too much work, and a potential security risk.
@gagandeepsingh-zx6zy
@gagandeepsingh-zx6zy 7 лет назад
ok sir
@ortimis2680
@ortimis2680 7 лет назад
isnt grid the much more powerful option to flexbox?
@KevinPowell
@KevinPowell 7 лет назад
I think the Grid is *incredible*, but it's support isn't really here yet (I know it's supported by all the browsers now, but caniuse has worldwide support at only 70%, thanks to people using old browsers caniuse.com/#search=css%20grid ). That said, they work really well together! You can set up a nice layout with the Grid, and then use flexbox inside the grid, specially since the subgrid isn't here yet. I do think flexbox still have a huge part in design, and until browser support improves (and people learn the grid better), it's still going to be the primary way of building layouts for a little bit longer as well. Eventually, Grid will be more for layouts, supported by flexbox within the Grids we build.
@justsaybobby
@justsaybobby 2 года назад
I don’t understand how he’s adjusting one two and three when the classes are called “item one” “item two” and “item three”?!? What’s going on?!?
@bamaadaa
@bamaadaa 7 лет назад
console.log('SUBSCRIBED ');
@KevinPowell
@KevinPowell 7 лет назад
Hah, awesome!
@devkamal7705
@devkamal7705 4 года назад
U r my b in law copy
@josipbjezancevic5697
@josipbjezancevic5697 7 месяцев назад
Consider flex-basis a pivot value around which items either shrink or grow if it is possible. The flex property is observable clearly only when there is nowrap.
@shayanfaghihi
@shayanfaghihi 4 года назад
Thanks, man! I've started diving into your Conquering Responsive Layouts course. You are amazing.
@KevinPowell
@KevinPowell 4 года назад
Thanks :)
@NEO-wl9ox
@NEO-wl9ox 7 месяцев назад
Pretty captivating vd and I have brushed up on lots of things I have learned from that and it was remarkable
@Dipenparmar12
@Dipenparmar12 Год назад
Amazing tutotiral out there on flexbox. Thank you very much
@revvnijaa4177
@revvnijaa4177 2 года назад
sir i learned css from your videos i got job as shopify developer we are using cutom css for designing thanks a lot..
@steve_aventura
@steve_aventura 3 года назад
Where are the classes .one .two .three in the HTML?
@mascatrails661
@mascatrails661 3 года назад
wow flexboxes are amazing!!!
@gokhandamgaci
@gokhandamgaci Год назад
Thanks for the great tutorial. By the way, of course your tutorials are great, but practice makes perfect, doesn't it? I've been playing on that flex playground to practice what I've learned from you. Thanks for sharing it too.
@dz4145
@dz4145 4 года назад
Hi @Kevin thanks a lot for the great videos you create. It helps a lot! Could you tell me where is the difference between "display: flexbox" and "display: inline-block" for me both do almost the same -align elements in a row . So, I'm confused when I need to use the second one.
@Nature-hd6gq
@Nature-hd6gq 3 года назад
I have been stressing over this concept for the last two days until I found out about this video. I absolutely adore you, Mr.Powell. Thank you!
@richardrichardson5745
@richardrichardson5745 5 лет назад
Hay man, great video. There is no video and subscribe link at the end of the video. Looking forward to the next video.
@uimonk
@uimonk 3 года назад
thank you for such amazing tutorials
@philipdufour7233
@philipdufour7233 3 года назад
I'm here from your free responsive layout course. Thank you.
@osmdrcn8076
@osmdrcn8076 3 года назад
thanks!
@teryakiisauce
@teryakiisauce 4 года назад
thanks!! this really helped me understand properly
@nihilumaeternum6555
@nihilumaeternum6555 4 года назад
When the «flex-grow» and «flex-shrink» properties have respective values different from «0», the «flex-basis» property is irrelevant, right?
@KevinPowell
@KevinPowell 4 года назад
Not entirely. If you have multiple items that have a different flex-basis, it will have an impact.
@ChadAmI80
@ChadAmI80 5 лет назад
Great video but the link to the flex playground in your description is not working any more. Do you have a new one?
@KevinPowell
@KevinPowell 5 лет назад
Thanks for letting me know! I just updated it with this link - flexbox.help/
@rezarahman1782
@rezarahman1782 3 года назад
That was awesome Kevin.❤
@udarakasun
@udarakasun 6 лет назад
Realy awsom kevin
@modymohamed8555
@modymohamed8555 6 лет назад
nice video
@KevinPowell
@KevinPowell 6 лет назад
Thanks :)
Далее
Flexbox is more complicated than you thought
22:42
Просмотров 153 тыс.
С какого года вы со мной?
00:13
Просмотров 100 тыс.
TEAM SPIRIT: НОВЫЙ СОСТАВ. SEASON 24-25
01:31
Flexbox design patterns you can use in your projects
15:33
The thing people get wrong about flex-basis
9:00
Просмотров 60 тыс.
Learn flexbox the easy way
34:04
Просмотров 709 тыс.
Learn CSS Flexbox in 20 Minutes (Course)
20:37
Просмотров 128 тыс.
Learn Flexbox CSS in 8 minutes
8:16
Просмотров 1,6 млн
50 Website Design Mistakes (And Why)
8:24
Просмотров 88 тыс.
6 Advanced Flexbox Features You Probably Don’t Know
14:54
Become A Master Grid CSS In 13 Minutes
13:46
Просмотров 43 тыс.