Learning Grid & Flexbox with Chris Coyier & Kyle Simpson

  Рет қаралды 16,738

CSS-Tricks

CSS-Tricks

Күн бұрын

Kyle is a JavaScript guy. He knows a ton about the web, and plenty about CSS too, but isn't as up-to-date on modern CSS layout tools like flexbox and grid. We didn't go from 0 to 100 here, but we did have a great chat about modern layout while live coding and we chatted through layout situations.
Along the way, we let the VS Code extension TabNine see what it could do to help us write CSS.

Пікірлер: 33
@swyxTV
@swyxTV 4 жыл бұрын
two of my webdev heroes!! time for You Don't Know CSS??
@Maximum_Dev
@Maximum_Dev 4 жыл бұрын
0:00 - Intro 1:58 - Boilerplate HTML viewport meta tag explained 6:44 - Chris explains the demo setup 9:09 - CSS Grid Intro 12:24 - Similarities of the grid and table-based layouts 13:36 - The Evils of table-based layouts 14:09 - Quick Flexbox demo 16:44 - Flex-basis, flex-shrink, flex-grow deep dive 18:05 - Content width and Inherent size 22:21 - Basic grid demo 25:25 - Inline vs inline-block 26:54 - Let's build a card with CSS Grid 32:14 - Grid template columns and fr units explained 34:03 - Grid sizing vs box-sizing 38:00 - Back to building the card 40:09 - Nesting flexbox inside grid 42:00 - Using flex-wrap 42:57 - Using flex-direction 45:10 - Margin auto trick. (Must watch) 45:42 - Logical axis properties 47:28 - How you might make the card responsive 49:02 - Using justify-content and how to remember what it does 53:46 - Using minmax() 58:49 - Wrapping up Thanks for doing this, I hope you make more videos with Kyle in the future. It was great watching you solve the problems in multiple ways and discussing the trade-offs of each decision Cheers!
@ChrisCoyier
@ChrisCoyier 4 жыл бұрын
Thank you!
@Maximum_Dev
@Maximum_Dev 4 жыл бұрын
You bet man, thanks for the great content!
@matthiaskohler9615
@matthiaskohler9615 3 жыл бұрын
Wish the author takes the time to copy paste that into the description so we see those chapters in the video itself to further improve this awesome video
@justyna6134
@justyna6134 4 жыл бұрын
You both are sooo coool, I like when Kyle is asking the questions that have so obvious answer but Chris is replaying to him showing the interesting tricks - very great idea to make this type of meeting :)
@ElLevidente
@ElLevidente 4 жыл бұрын
It's so interesting to me to see that Kyle doesn't know a lot of this stuff that I take for granted. Makes me feel less bad about still sucking at JavaScript, everyone has their strengths and weaknesses.
@PrabhjitSingh1990
@PrabhjitSingh1990 3 жыл бұрын
Thanks, Chris, for this wonderful explanation regarding Grid and Flexbox with examples.
@sdumo59
@sdumo59 Жыл бұрын
Please this was fun we need more of this
@alexpanteli3651
@alexpanteli3651 4 жыл бұрын
Greetings from Cyprus. Great Tutorial. Keep it up mate
@lenientliu6080
@lenientliu6080 3 жыл бұрын
Very interesting format, learned a lot.
@abahiduh3246
@abahiduh3246 2 жыл бұрын
Our web gurus Chris-css n Kyle-js
@DevMadeEasy
@DevMadeEasy 4 жыл бұрын
Wow, what an incredible content; thank you so much for sharing it.
@mdyeamin3553
@mdyeamin3553 4 жыл бұрын
yas sir, You feel much better today
@abahiduh3246
@abahiduh3246 2 жыл бұрын
Am bless.... great opportunity
@TechSnazzy
@TechSnazzy 3 жыл бұрын
This is answering some questions I have had for a long time. Thank you! Also, what is the drawing tool you are using?
@carterjm
@carterjm 4 жыл бұрын
Chris, another great video! I love it.
@yusufgul4458
@yusufgul4458 3 жыл бұрын
Another perfect video, thx for everything.
@msnataliamilk
@msnataliamilk 4 жыл бұрын
great! i love it! i just found your site, and i know i will be back to web and to yt chanel. learned a lot! :)
@juancruzsadone413
@juancruzsadone413 2 жыл бұрын
which tool did you use to size at 14:41 ?
@sageeconway4586
@sageeconway4586 4 жыл бұрын
Great Video! Thanks!
@jimshtepa5423
@jimshtepa5423 4 жыл бұрын
Hello Chris, this is another good video after I watched your conversation with Stackbit founder. A quick question, what tool did you use for wireframe design in this video? is it part of chrome?
@danh27
@danh27 4 жыл бұрын
I believe it's Cleanshot X
@jimshtepa5423
@jimshtepa5423 4 жыл бұрын
@@danh27 Cool, thank you
@kicba
@kicba 3 жыл бұрын
What is this app for drawing mockups?
@kamilc.5271
@kamilc.5271 4 жыл бұрын
Great vid! Thx!
@farmville_invite
@farmville_invite 4 жыл бұрын
But the question is... does it wrap?
@Mahdi-l5e9j
@Mahdi-l5e9j 7 ай бұрын
thanks
@AdamArgyleInk
@AdamArgyleInk 4 жыл бұрын
😍
@yanhuan1
@yanhuan1 3 жыл бұрын
Same with Kyle, not familiar with CSS, haha
Learn CSS Grid the easy way
37:04
Kevin Powell
Рет қаралды 926 М.
Smart Sigma Kid #funny #sigma
00:14
CRAZY GREAPA
Рет қаралды 103 МЛН
Человек паук уже не тот
00:32
Miracle
Рет қаралды 3,6 МЛН
When mom gets home, but you're in rollerblades.
00:40
Daniel LaBelle
Рет қаралды 132 МЛН
Performance Testing CSS-Tricks with WebPageTest
1:13:22
CSS-Tricks
Рет қаралды 6 М.
Learn About the `position` Property in CSS
13:57
CSS-Tricks
Рет қаралды 9 М.
Why Isn't Functional Programming the Norm? - Richard Feldman
46:09
WHY did this C++ code FAIL?
38:10
The Cherno
Рет қаралды 285 М.
The fundamentals of CSS layout | Workshop
1:28:31
Chrome for Developers
Рет қаралды 72 М.
Creator of git, Linus Torvalds Presents the Fundamentals of git
1:10:15
Developers Alliance
Рет қаралды 131 М.
Flexbox design patterns you can use in your projects
15:33
Kevin Powell
Рет қаралды 444 М.
Yapping About Astro
26:29
CSS-Tricks
Рет қаралды 8 М.
Smart Sigma Kid #funny #sigma
00:14
CRAZY GREAPA
Рет қаралды 103 МЛН