I was inspired to try and recreate a Dribble shot by Aaron Iker - https://dribbble.com/shots/17674758-Button-Glow
🔗 Links
✅ The Dribbble shot that inspired this: https://dribbble.com/shots/17674758-Button-Glow
✅ Conic CSS by Adam Argyle: https://www.conic.style/
✅ The finished code: https://codepen.io/kevinpowell/pen/rNrdzdx
⌚ Timestamps
00:00 - Introduction
00:27 - What we’re starting with
01:45 - Adding the SVG for this effect
03:47 - CSS to get the SVG in position
07:12 - Using dasharray on the SVG to create the gowing segments
10:30 - Using dashoffet to move the segments
12:37 - Matching the border radius using rx
14:00 - Adding the blur and making the SVG bigger to see the glow
19:22 - Repositioning the lines on top of the button
21:03 - Fixing the hover so it’s only on the button itself
22:43 - Improving the glows
27:17 - Adding the fade/in out on the glows
34:50 - Customizing the line lengths
36:37 - Creating solid line variation
38:30 - Creating an offset variation
43:05 - Fixing the rx / border-radius
#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!