Video: Cool 3D grid layout | Can I clone it?

Channel: Kevin Powell

关于

My buddy @codebreakthrough has asked me to recreate a cool-looking layout with a 3D grid, so let's give it a shot!

This is part of a series where I show my first attempt at something, with very little editing, to give you a better idea of how I tackle problems and show that even the best of us get stuck!

✅ Submit suggestions for this series here: https://docs.google.com/forms/d/e/1FAIpQLSezPhEqrZDXhKHz51OrRn9kvJFeTe5fjzt8OeE1QcQ25HDUbw/viewform?usp=sf_link

🔗 Links

✅ The repo for this project: https://github.com/kevin-powell/3d-grid-clone

✅ Andy Bell's Modern CSS Reset: https://piccalil.li/blog/a-modern-css-reset/

✅ Creating columns using Grid: https://www.youtube.com/watch?v=_lEkD8IGkwo&list=PL4-IK0AVhVjPv5tfS82UF_iQgFp4Bl998&index=6

✅ More on focus-visible: https://www.youtube.com/watch?v=j68WvpUX41c&list=PL4-IK0AVhVjPRj8P56TtFX2hg33BlbT3x&index=13

✅ Performant shadow animations: https://www.youtube.com/watch?v=j68WvpUX41c&list=PL4-IK0AVhVjPRj8P56TtFX2hg33BlbT3x

⌚ Timestamps

00:00 - Introduction

00:42 - What we're trying to build

02:00 - What we are starting with

02:36 - Writing the HTML

08:13 - Starting the CSS

16:14 - Creating the grid

27:11 - The hover states

29:33 - Submit ideas!

30:21 - Fixing the border-radius

31:36 - Trying to make the grid 3D

37:45 - Getting perspective to work

40:01 - Trying to slide the grid under the text

47:49 - Fixing the sliding behaviour

56:21 - Improving the perspective

58:58 - Adding the shadow

#css

--

Come hang out with other dev's in my Discord Community

💬 https://discord.gg/nTYCvrK

Keep up to date with everything I'm up to

✉ https://www.kevinpowell.co/newsletter

Come hang out with me live every Monday on Twitch!

📺 https://www.twitch.tv/kevinpowellcss


Help support my channel

👨‍🎓 Get a course: https://www.kevinpowell.co/courses

👕 Buy a shirt: https://teespring.com/stores/making-the-internet-awesome

💖 Support me on Patreon: https://www.patreon.com/kevinpowell


My editor: VS Code - https://code.visualstudio.com/


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: https://twitter.com/KevinJPowell

Codepen: https://codepen.io/kevinpowell/

Github: https://github.com/kevin-powell


And whatever you do, don't forget to keep on making your corner of the internet just a little bit more awesome!