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
4 weeks ago 00:00:00 1
“BEL90A Ring Laser Gyroscope – Precision Navigation for Unmanned Vessels“
4 weeks ago 00:03:16 1
How to Draw a Spider Easy Step by Step
1 month ago 00:03:22 2
Haddaway - What Is Love (Shuffle Dance Music Video) 💃【4K】
1 month ago 00:00:37 1
Revolutionary Skin Grafting Technique Revealed!
1 month ago 00:03:48 1
OFFICIAL Somewhere over the Rainbow - Israel “IZ“ Kamakawiwoʻole
1 month ago 00:10:17 6
17+ Pretty Blood : Red Snow Part 2
1 month ago 00:46:23 1
Arielle Zuckerberg, “The Rizz & Tiz“ Winning Founder Recipe
1 month ago 00:00:00 1
Create Your Own Gemstone Refractometer At Home Easily #gemstone #refractometer @sunmoonbay
2 months ago 00:19:06 1
Learn How to Improve Your Robot Drawings in Minutes!
2 months ago 00:11:37 1
Neuromarketing: How brands are getting your brain to buy more stuff