A look at how we can make a dynamic, responsive grid using CSS, along with a dive into properties l like aspect-ratio, object-fit, and more.
🔗 Links
✅ The GitHub repo:
✅ Andy Bells CSS reset:
✅ My Emmet video:
✅ The easy way to get started with CSS grid:
✅ About object-fit:
✅ Auto-fit vs Auto-fill:
✅ More about aspect-ratio:
⌚ Timestamps
00:00 - Introduction
01:01 - Writing the HTML
04:57 - Setting up a basic grid
06:39 - Styling the cards
07:23 - Using aspect-ratio on the images
10:03 - Stacking content with grid
13:01 - Styling the card content
14:03 - Adding aspect-ratio to the cards
18:52 - Making the grid dynamic with auto-fit
22:31 - Creating a featured card
25:59 - Styling the featured card
28:49 - Fixing things for small screens
#css
--
Come hang out with other dev’s in my Discord Community
💬
Keep up to date with everything I’m up to
✉
Come hang out with me live every Monday on Twitch!
📺
---
Help support my channel
👨🎓 Get a course:
👕 Buy a shirt:
💖 Support me on Patreon:
---
My editor: VS Code -
---
I’m on some other places on the internet too!
If you’d like a behind the scenes and previews of what’s coming up on my YouTube channel, make sure to follow me on Instagram and Twitter.
Twitter:
Codepen:
Github:
---
And whatever you do, don’t forget to keep on making your corner of the internet just a little bit more awesome!
1 view
59
19
3 days ago 00:17:14 0
Five Nights at Freddy’s | CAMSHOW JUMPSCARE! | (Night 6) Indie Horror Game w/ facecam
3 days ago 00:15:53 0
How to crochet daffodil flower | Crochet with Pampino
5 days ago 00:00:57 1
❤
7 days ago 00:29:12 0
“ PROFILE OF A PROBLEM DRINKER “ 1957 ALCOHOLISM AWARENESS, TREATMENT & EDUCATION FILM CC10125
1 week ago 00:22:49 0
The Forest | SPEARFISHING AND HUNTING! | (Part 5) w/ facecam, Gameplay
1 week ago 00:00:34 1
Жизнь в руках Бога🕊
1 week ago 00:50:35 2
Why This Russian Drone Developer Isn’t Impressed by U.S. Tech
4 weeks ago 00:06:27 0
How to get free Instagram followers ❤️How to grow on Instagram🚀Instagram growth
4 weeks ago 00:36:34 1
We SHIFTED Timelines in 1999: Y2K & CIA’s Secret Time Manipulation Program Exposed!
4 weeks ago 00:04:08 8
Magnum Opus: The Ultimate Neo-Classical Sweep Picking Course - Dan Mumm
4 weeks ago 00:02:57 6
Amazing and super cute crochet idea that you will love it / 5فكرة كروشي
1 month ago 00:06:20 0
DIY Fake Glass Home Decor Using Plastic Bottle - Easy Craft Ideas | Birds Out Of Paper 🤗🥰