No video

CSS Grid Crash Course

  Рет қаралды 314,598

Traversy Media

Traversy Media

Күн бұрын

This crash course will teach you all of the fundamentals of CSS Grid
⭐ Sponsor: InMotion Hosting!
bit.ly/35rBjYU
💻 Code:
github.com/bradtraversy/grid-...
👇 24+ Hour HTML & CSS Course (Just revamped!)
www.traversymedia.com/modern-...
👇 Udemy Version:
udemy.com/modern-html-css-fro...
💖 Show Support
Patreon: / traversymedia
PayPal: paypal.me/traversymedia
👇 Follow Me On Social Media:
Twitter: / traversymedia
Instagram: / traversymedia
Linkedin: / bradtraversy
Timestamps:
0:00 - Intro
0:50 - Sponsor
1:28 - Slides
4:29 - HTML & Base CSS
7:28 - Creating a Grid
7:53 - grid-template-columns
9:16 - repeat()
9:32 - Gap Spacing
10:17 - Row Height
10:55 - grid-auto-rows
11:15 - minmax()
11:45 - grid-template-rows
13:19 - Grid Browser Tools
14:03 - Align & Justify
17:08 - Grid Column Span
18:46 - Grid Row Span
20:28 - Responsiveness
23:03 - Grid Template Areas
32:22 - Testimonials Grid Project Intro
33:40 - Testimonials HTML
37:18 - Base & Card Styling
45:40 - Grid Styling
49:52 - Media Query & Span Resets

Пікірлер: 444
@robrice4076
@robrice4076 2 жыл бұрын
I remember taking your crash course on html, 8 months ago and now I’m starting my first front end dev job next week. Thanks for all you do Brad!
@GuitarHope
@GuitarHope 2 жыл бұрын
If you don't mind, what have you learnt in these 8 months in order to be be able to do the job?
@Muffi606
@Muffi606 2 жыл бұрын
Can you share a little bit more about your journey, just starting front end development
@robrice4076
@robrice4076 2 жыл бұрын
@@GuitarHope Sorry for the late response. But the technologies that ive learned are HTML, CSS/SASS, Vanilla JavaScript, Bootstrap, and learned my way around github and the terminal. I made learning an everyday thing and listened to what the big tech youtubers said about finding a job , replicated a lot of sights from frontendmentor, took as much classes from scrimba. And i think most important, when i talked to companies that wanted to hire me i just sounded excited and passionate to talk to them and told them im ready to give it my all.
@robrice4076
@robrice4076 2 жыл бұрын
@@Muffi606 So i had no professional tech experience, i transitioned from a barber to a front end dev. I woke up early in the mornings before work / after laying my child down at night and followed tutorials, built my own ideas, or just replicated sites. Listen to podcast/youtube videos on the way to work/at lunch, i made development my life. For real give it time, consistency is key, trust the process. I've learned things that i thought i could never learn. And have trust in your self and believe everything brad says.
@Muffi606
@Muffi606 2 жыл бұрын
@@robrice4076 this is awesome
@fablyinspirations7783
@fablyinspirations7783 2 жыл бұрын
Thank you Brad. Amazing tutorial as always. I personally do not take your generous sharing of knowledge for granted because I can imagine how much work goes into creating great tutorials like these.
@noahdiez9400
@noahdiez9400 Жыл бұрын
The way you teach and show alternative ways of doing stuff than just one example are the type of tutorials that give people better perspectives. Very well done
@kratty
@kratty 2 жыл бұрын
This is by far my favorite grid tutorial. Not only did you show the basics and syntax, but we got example of how to incorporate it into a somewhat real scinero. It was a great touch combining the use of grid and flex box to help tie both uses together. Bravo.
@favouritecomics2177
@favouritecomics2177 2 жыл бұрын
Brad is the reason why I have not given up on web development.. Thank you so much sir
@nomagix
@nomagix 2 жыл бұрын
Hey Brad, I just wanna thank you so much for your hard work. Your channel is invaluable! You're awesome.💕
@jesseemana9598
@jesseemana9598 2 жыл бұрын
been seriously waiting on this, just diving into CSS and I loved how simplified your Flexbox crash course was and was looking to get into Grid next but other videos just weren't doing it for me until I found this, awesome
@mobeenrajpoot5315
@mobeenrajpoot5315 Жыл бұрын
Now you are one of my favourite teachers. I really like the project base tutorials especially when you build things from scratch and give us a chance to learn some fundamental things from it.
@henrymacartney381
@henrymacartney381 2 жыл бұрын
Thank you, sir for another excellent tutorial. I am a pensioner who worked in the medical device industry, where we worked with embedded SW systems. Huge difference but fun!
@discoRyne
@discoRyne 2 жыл бұрын
Grid and Flexbox is such a fun and powerful combo once mastered. The new (first time I'm seeing it) intro animation also looks great with the code editor in the background, good job there!
@sumayaNoman
@sumayaNoman 2 жыл бұрын
Hi Brad, I can't thank you enough for these videos which you make. You are doing such a GREAT JOB by sharing your knowledge with us.Thank you soooooo much.
@ezeobisochima9944
@ezeobisochima9944 2 жыл бұрын
I finished grid system with your modern HTML and CSS course from udemy and also with your crash course on KZfaq and all of them really make sense. But I feel that this one is also a must watch crash course 😂. Any video from Brad for me it is a must watch 😁
@bekhzodjamolov3682
@bekhzodjamolov3682 Жыл бұрын
This guy knows how to teach things properly and shows on actual examples what he taught. Thank you for the great video!
@jakeochukoidamatie723
@jakeochukoidamatie723 2 жыл бұрын
Thanks Brad for making this video, I have been running away from grid and using only Flexbox, but you just changed my mind, CSS grid is so powerful and easy. THANKS !!!
@uniquelaura8277
@uniquelaura8277 2 жыл бұрын
Thank you so much for this Brad! I found you last year came back looking for ya. I'm self learning through Codecademy and I'm so glad I came to watch both your flexbox and grid tutorials. They're amazing! You're a great teacher and a great inspiration. You give me so much hope! Will definitely come back to do projects with you and to keep learning from you. Stay blessed!
@AbhishekTiwari-cf8sp
@AbhishekTiwari-cf8sp 2 жыл бұрын
Always waiting for your new crash course, most powerful and useful for me❤️
@Amar11115
@Amar11115 Жыл бұрын
every time i feel low and want to quit coding, I watch your videos. you teach concepts easily and most of the time you make me feel that I can learn to code, I just need to keep going. thanks man, thanks a bunch!😊
@stevenwilson5556
@stevenwilson5556 Жыл бұрын
5:54 the hack to add 9 numbered items in VS code felt like a superpower. Thanks for this video. I am already lovin' it.
@Davidkiania
@Davidkiania 2 жыл бұрын
Brad this is awesome and I loved every moment of it. You make it really seem easy and will certainly put this tutorial into good use. Much appreciation from Kenya!
@WW-zy9un
@WW-zy9un 2 жыл бұрын
From somehow who is old-school with the old way of tables & columnspan's , your videos help a lot, & maybe I won't throw all the prior knowledge away. I want to get back into it & this is sooooo much simpler. A new learning curve. Glad I ran across you.
@jamesmassa1999
@jamesmassa1999 2 жыл бұрын
I've gone over this several times... this time it just clicked. Brad, not ever a waste of time watching your videos! Nice job as usual. 🙂
@ScriptRaccoon
@ScriptRaccoon 2 жыл бұрын
Really concise course, thanks! As for the project in the end, I suggest to change the media queries from max-width to min-width, i.e. do mobile first design. Then the "default" view of the cards is just stacked and very simple, and all the grid spans, cols and rows go to the media query. The advantage of this is that we do *not* have to reset the grid styles as shown in the video (51:00). So we achieve the same result with less code! This is very well explained as well in Kevin Powell's videos on responsive design.
@lloadded
@lloadded 2 жыл бұрын
oh i just understood that
@robertmacwan8144
@robertmacwan8144 2 жыл бұрын
Thanks for this video, i was so much struggling to learn css grid but you make this so easy to understand.
@christopherlopez2491
@christopherlopez2491 3 ай бұрын
I first followed your html tutorial a few years ago. I always refer you as being the OG of web dev and I am very grateful for you opening the door for me. Ive learned so much and am learning tons, thanks to you. I took a boot camp and really got a leg up thanks to your teachings. Hope you have a great weekend.
@gngn2973
@gngn2973 2 жыл бұрын
I've literally came back to this video 5 times already. Thanks so much for this makes things a lot easier. I've come a long way with dev since taking your Mongo course lol.
@crimsonred0786
@crimsonred0786 2 жыл бұрын
This is incredible! I'm good with CSS in terms of knowing how to use Flex and Grid, but never knew how to actually make it look good on a webpage, thank you!
@London2ATL
@London2ATL 2 жыл бұрын
I'm jumping on this. Thank you so much. My fav KZfaq teacher.
@pw.70
@pw.70 2 жыл бұрын
This is the best CSS grid tutorial on KZfaq. Thanks for this.
@vladimirtomic
@vladimirtomic 2 жыл бұрын
"I like to do things from start to finish and not just paste things in..." This is where you had my definite thumbs up. Thank you!
@atifkhankarachi6271
@atifkhankarachi6271 2 жыл бұрын
Just in time i actually slipped Grid while learning CSS and moved to JS after a few projects now I was reconsidering Grid literally few hours ago!! Thanks alot your React front to back is Golden
@shutomasi
@shutomasi Жыл бұрын
This is one of the first times I've genuinely preferred to learn over doing something else. Your tutorials are great. I've only been following them for about a week now and I have a better grip on HTML & CSS then I did from secondary school & college.
@upstatenyrider8413
@upstatenyrider8413 6 ай бұрын
Fantastic tutorial. I love you’re teaching style and the pace was spot on. This took my game up a notch in a sorely needed area.
@alanjerram9258
@alanjerram9258 2 жыл бұрын
A double thank you for the great instruction, from those learning to use grid and VS code at the same time. You are basically covering both. Your pace is quick, but that's why they invented the pause button!
@simply_the_dev7588
@simply_the_dev7588 2 жыл бұрын
How you use Grid is how I imagined it would be used for. Thanks for the refresher. I keep forgetting things and not writing them down. If I can visualize it like how you are setting it up I can remember it.
@victorekea
@victorekea 2 жыл бұрын
I'm a testimony of Brad's awesome css grid courses. Thanks for sharing another awesome tutorial, Brad. ✨✨
@iancarr3923
@iancarr3923 Жыл бұрын
Excellent as usual. Appreciated the notion that the grid is useful for page layout and that flex (and grid) can then be use to organize elements within the grid area.
@solomonhaile4502
@solomonhaile4502 Жыл бұрын
The way you organize the topics is awesome and I am into web development because of you making such informative content.
@TheSharkbeast
@TheSharkbeast 2 жыл бұрын
Just in time i actually skipped Grid while learning Css and moved to Js after a few projects now i was reconsidering Grid literally few hours ago !! Thanks alot your React front to back is Golden
@rohandeshmukh3989
@rohandeshmukh3989 6 ай бұрын
Thank you!! One of the best tutorials i have seen on css grid .
@DanielGuzman31
@DanielGuzman31 2 жыл бұрын
Amazing tutorial like always Brad! Plus the new intro it’s awesome !
@AverageComputerGeek
@AverageComputerGeek 2 жыл бұрын
This was an excellent lesson, very good pacing and explanations. I love that you showed the incorporation of Flexbox in the real world example. As a Flexbox fanboy, I do appreciate the ease of Grid and the additional layout css properties. I will have to go ahead and give it a go! Thank you!
@dpdoescode
@dpdoescode 2 жыл бұрын
This as well as flexbox are so important! Can't recommend enough - gets you so far in terms of layouts. Thanks Brad 💪
@hassanali-yi4bu
@hassanali-yi4bu 2 жыл бұрын
Shut up
@alfonseandia
@alfonseandia Жыл бұрын
Thank you! The project at the end actually made it stick more.
@MrSickonebk
@MrSickonebk Жыл бұрын
my man I have learn so much with you! thank you... you don't know how much I appreciate your tutorials
@lukramingo1496
@lukramingo1496 2 жыл бұрын
Great tutorial Brad, I learn a lot from your channel and now i survive coding journey from giving up way in last couple of years back.🏋‍♀
@Racine14
@Racine14 2 жыл бұрын
Merci pour cette video qui est tres benefique pour nous. Je suis tres content de regarder celle-ci. Merci pour les explications qui sont bien detaillees.
@drawdownwind6636
@drawdownwind6636 Жыл бұрын
I'm 9 months into web dev // This tutorial has been very enlightening and extremely helpful. Thank you!!
@jonathanemmett8043
@jonathanemmett8043 2 жыл бұрын
I always come to your crash courses and udemy courses to fresh'n up on what is going on in the world of JS/CSS, etc. We tend to get stale working on the same stuff day in and day out, so it makes my brain start functioning again.
@filipcruz7688
@filipcruz7688 2 жыл бұрын
Great tutorial. Clear, organized, and totally professional.
@MsLotus9
@MsLotus9 Жыл бұрын
Excellent video! This was the first one I watched where I really understood Grid. Thank you so much :)
@ElementoryMyDearWatson
@ElementoryMyDearWatson 10 ай бұрын
Terrific tutorial, clear concise and very easy to follow. Not an easy thing to pull off. Many thanks indeed.
@jordynmuldrow3885
@jordynmuldrow3885 Жыл бұрын
Thank you Brad for another amazing educational tutorial. This help me understand my css grid assignment so much better
@sirsanctified9380
@sirsanctified9380 Жыл бұрын
Great video, followed through till the end and the good thing is I really got something out of it
@awg-oc1nu
@awg-oc1nu 10 ай бұрын
Thank you Brad to you and your company Traversy Media for getting this polished and easy to follow video up online. Me after 13 years of touching any code I have to update a product calculator. CSS Grid with @media, wow! You are correct the younger ones may not know how good they've got it :)
@lordvexxie8175
@lordvexxie8175 2 жыл бұрын
Thanks for yet another awesome video Brad! Love the new look in the videos by the way ✨
@spelf
@spelf Жыл бұрын
Another fantastic video, I find your teaching style to be absolutely perfectly suited to how I like to learn. Thanks again 👍
@DrAlghazali
@DrAlghazali 2 жыл бұрын
First time to fully understand css grid, Super!
@nivellen1168
@nivellen1168 2 жыл бұрын
I thank you this! Recently, I noticed how much I sucked at CSS and thought of CSS Grids as the first thing to learn.
@idorenyinbenson1161
@idorenyinbenson1161 9 ай бұрын
Thank you for taking out time to help me with this vital piece of information.
@nathanielessien2347
@nathanielessien2347 2 жыл бұрын
Trying to round up my css this week so I can head to js. Thanks for this, it's really helped me hasten up.
@sepandarmoeeni9299
@sepandarmoeeni9299 10 ай бұрын
hey Brad, thanks alot for your hardwork and generous spirit.
@JayantBB78
@JayantBB78 2 жыл бұрын
Brad, I don't have words to thank you. You are really a great mentor for countless learners like me. You are awesome man. God bless you. Keep posting. Keep teaching. Love from INDIA. ❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️
@manashbehera961
@manashbehera961 Жыл бұрын
thank you for explaining this in a very simple manner.
@keshavakumar9828
@keshavakumar9828 2 жыл бұрын
Thank you . I have learnt so much from watching your tutorials. I more skill added to resume.
@ashishtripathy2768
@ashishtripathy2768 Жыл бұрын
Just Wow.To The Point Content. Making Complex topics easy . Thanks
@Igor-ge1py
@Igor-ge1py Жыл бұрын
Getting back into front end development. Grid and flex is a game changer. I remember doing table layouts in dreamweaver when I first started and then floats. I got so good with floats that I get an urge to use them again but have to catch myself and use grid and flex since they are so much cleaner and powerful. No more hacks to align stuff 🤭
@AYUSH-fn6ql
@AYUSH-fn6ql Жыл бұрын
In the media queries part, instead of using grid-template-columns:1fr and changing all that spanning stuff, i used display:block and added a little margin here and there. It worked.
@kaseycarr9130
@kaseycarr9130 4 ай бұрын
I've taken a couple of courses already and they all go deep in the specifics but I still wasn't getting it, but you really teach the same way I learn with practical use explanations that are just really simple and easy to understand, and I learned so many VS Code shortcuts just from watching you work. Thank you so much, I will be doing your other courses as well
@arunkumar-ic8kl
@arunkumar-ic8kl 2 жыл бұрын
Thankyou for the free course. Really helped learning CSS GRID.
@keldaniel8576
@keldaniel8576 Жыл бұрын
You are the best web dev I have seen so far, great work and you’ve also help so many beginner on this channel of yours thanks u traversy media
@geekstudio.
@geekstudio. Жыл бұрын
Will definately start watching Trav again as a supplement to my full stack studies...Currently doing node.js,python,php,and SQL!
@dujanabaloch9479
@dujanabaloch9479 2 жыл бұрын
for media query ,i just used flex box and set flex-direction :column . Easy and Thank you Brad ,Credit goes to you
@cutiepiejunjun107
@cutiepiejunjun107 2 жыл бұрын
Love all your videos. Thank you for all your hard work.
@KeithHeilner
@KeithHeilner 7 ай бұрын
Old guy here(retired). I'm not looking for a job but I love programming. Thank you for your crash courses. I'm in the process of building a weather station and I want to collect weather data and display it(dynamically) on my web page. Your courses are helping me achieve something that I would not be embarrassed to put out there.
@azazali1785
@azazali1785 2 жыл бұрын
I'm just watching your flexbox video and you came up with Grid video. Thank you so much
@TraversyMedia
@TraversyMedia 2 жыл бұрын
Nice. I would suggest watching the flex video first and then this.
@mdbicky9460
@mdbicky9460 2 жыл бұрын
watch the whole thanks brad for such an amazing video 😍💖
@dsofiap15
@dsofiap15 2 ай бұрын
Thank you so much for your detailed tutorials. They're really helpful as a beginner, and make everything understandable.
@sanjeevsharma4819
@sanjeevsharma4819 2 жыл бұрын
Without watching whole video , you deserve my like . I know it will be great video
@kathirmldata7411
@kathirmldata7411 2 жыл бұрын
❤ from south india.. I have learned so many frontend concepts . Because of you. Thanks a lot 🙏
@TheKtiekat
@TheKtiekat 2 жыл бұрын
That was super helpful. Better than most vids I've seen in explanation.
@certifiedmicronaut4901
@certifiedmicronaut4901 2 жыл бұрын
Thank you so much for this Brad! Sincerely, Self-teaching Front-End Developer (to be).
@amieexxcauntie2671
@amieexxcauntie2671 2 жыл бұрын
I am your fans.... You are great in teaching... Briefly.. And very generous
@alfiartya23
@alfiartya23 2 жыл бұрын
Thank you so much Brad! this is what I need to understanding more about Grid Layout
@MrMessi92
@MrMessi92 10 ай бұрын
always shining!! Thanks Brad
@danielj6394
@danielj6394 Жыл бұрын
Sir, I can't thank you enough. Your channel is treasure.
@jaegercrown964
@jaegercrown964 8 ай бұрын
A big thanks to you i was able to clarify the concept of flexbox and grid
@dileepbc5901
@dileepbc5901 Жыл бұрын
I always loved your teaching style your my goto for any JS framework, library, html css crashcourse etc..Thanks brad please keep doing what your doing love from india.
@chamcham212
@chamcham212 2 жыл бұрын
Thank you Brad for making this video. I've learned a lot from you.
@okwongvictor6215
@okwongvictor6215 2 жыл бұрын
Thanks Traversy Media. I learnt alot from this one
@npcconversation
@npcconversation 6 ай бұрын
You are the best teacher in the world ! no doubt !
@jadonsunshine9613
@jadonsunshine9613 2 жыл бұрын
this guy is really good this is a video you have to watch
@WadieGamer
@WadieGamer Жыл бұрын
This is very helpful, Thanks Brad!
@Guevarra5
@Guevarra5 Жыл бұрын
Thank you so much ! Nice breakdowns , easy to follow. You make it make sense !
@user-gs6ts3rd5z
@user-gs6ts3rd5z 11 ай бұрын
The way you explain grid i sure who watch it complete there will be no need to watch some other video on grid Just amazing Best wishes from Pakistan Just keep it up
@getoutoftheway419
@getoutoftheway419 5 ай бұрын
zindaa hona bhai. thoda sa phikr rakh khud pe
@king-manu2758
@king-manu2758 Жыл бұрын
The other day my senior dev refactored some of my flexbox code with css grid and I was so impressed that I thought, I need to dig deeper into this. By the way, yes, I learned to code with Brad and now I'm happily employed.
@BneiAnusim
@BneiAnusim 2 жыл бұрын
Excellent Brad! Thanks.
@creativeprogrammer5850
@creativeprogrammer5850 Жыл бұрын
Thank you so much for this awsome crash course❤
@ahmad-murery
@ahmad-murery 2 жыл бұрын
Nice, clean and quick video, regarding the media query, instead of resetting each card grid-column/grid-row and figuring out what are the correct numbers, we can simply set both properties to initial like this: .testimonials .card { grid-column: initial; grid-row: initial; } Thanks Brad,
@nadeemamode
@nadeemamode 2 жыл бұрын
Good stuff man! keep it going!
@NurioonSoftware
@NurioonSoftware Жыл бұрын
Great lesson. Thank you very much
MySQL Crash Course | Learn SQL
1:11:35
Traversy Media
Рет қаралды 469 М.
Flexbox Crash Course 2024
46:54
Traversy Media
Рет қаралды 425 М.
Это реально работает?!
00:33
БРУНО
Рет қаралды 4,2 МЛН
Schoolboy - Часть 2
00:12
⚡️КАН АНДРЕЙ⚡️
Рет қаралды 11 МЛН
路飞太过分了,自己游泳。#海贼王#路飞
00:28
路飞与唐舞桐
Рет қаралды 40 МЛН
Learn CSS Grid the easy way
37:04
Kevin Powell
Рет қаралды 892 М.
The Importance of Specialization in Coding
7:13
Traversy Media
Рет қаралды 213 М.
Learn CSS Flexbox in easy way
5:05
cssiseasy
Рет қаралды 23 М.
10 Tailwind Classes I Wish I Knew Earlier
13:31
Web Dev Simplified
Рет қаралды 175 М.
These CSS PRO Tips & Tricks Will Blow Your Mind!
8:48
Coding2GO
Рет қаралды 188 М.
Learn CSS Subgrid in 14 minutes
14:19
Slaying The Dragon
Рет қаралды 66 М.
23 CSS features you should know (and be using) by now
31:31
Kevin Powell
Рет қаралды 70 М.
Build a Responsive Website | HTML, CSS Grid, Flexbox & More
2:02:22
Traversy Media
Рет қаралды 970 М.
Top 10 Advanced CSS Responsive Design Concepts You Should Know
20:16
Web Dev Simplified
Рет қаралды 515 М.
Это реально работает?!
00:33
БРУНО
Рет қаралды 4,2 МЛН