tubeshowcaseโ—997,243 videosโ™ก My collection 0
โ† Learn to Code

Learn to Code37:06

Can I copy this cool effect with CSS?

Kevin Powell โ†—

From the creator

I recently came across a very fun-looking CodePen by Gayane Gasparyan, and I wanted to see if I could recreate the effect. ๐Ÿ”— Links โœ… The codepen that inspired this: https://codepen.io/gayane-gasparyan/details/wvxewXO โœ… My finished code: https://codepen.io/kevinpowell/pen/jOXwVVB โœ… Other videos in this series: https://youtube.com/playlist?list=PL4-IK0AVhVjPPSWWKZP2j6xMdgYz_AhI9&si=6iowoXjCgSvB_a4l โŒš Timestamps 00:00 - Introduction 00:38 - What Iโ€™m starting with 01:18 - The HTML 03:23 - Starting the CSS 05:55 - Adding the tilt 07:56 - Adding the shadow under the card 14:32 - Preventing the shadow from rotating 19:26 - Adding the vignette on hover 22:40 - Adding the logo 30:30 - Adding the second image on hover #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 C

Published 2023-09-14 ยท Watch on YouTube โ†—
Availability and playback restrictions are controlled by the original channel.

Keep exploring Learn to Code