tubeshowcase●♑ My collection 0
← Learn to Code

Learn to Code23:05

Can I clone this rotating, gradient, inner glow effect?

Kevin Powell β†—

From the creator

I recently came across this cool blurred, rotating gradient border effect by Ana Tudor, and tried my best to recreate it! πŸ”— Links βœ… Ana’s codepen: https://codepen.io/thebabydino/pen/WNVPdJg βœ… My version from this video: https://codepen.io/kevinpowell/pen/ExqzKNY βœ… Ana’s post on Bluesky: https://bsky.app/profile/anatudor.bsky.social/post/3lasrgcxyzk2k βœ… Follow me on Bluesky: https://bsky.app/profile/kevinpowell.co βœ… My Front-end Friend starter pack on Bluesky: https://go.bsky.app/FfLUXeQ Get a YT membership: Join this channel to get access to perks: https://www.youtube.com/channel/UCJZv4d5rbIKd4QHMPkcABCw/join ⌚ Timestamps 00:00 - Introduction 00:26 - Setting things up 01:45 - Adding a conic gradient to the div 02:50 - Adding a custom property to animate the gradient 05:00 - Registering the custom property to animate it 07:20 - Moving the gradient to a pseudo-element 10:30 - Struggling to add a mask 14:30 - Getting the mask to work 15:20 - Trying multiple linear gradients 18:01 - Figuring out the problem with the trailing comma 19:22 - Looking at Ana’s solution which uses border-image #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/

Published 2024-11-27 Β· Watch on YouTube β†—
Availability and playback restrictions are controlled by the original channel.

Keep exploring Learn to Code