Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Animated Glowing Border - Easy to Customize CSS Effect

Kevin Powell via YouTube

Overview

Google, IBM & Meta Certificates – 40% Off
One Coursera Plus subscription covers most Professional Certificates on Coursera.
Unlock All Certificates
This course demonstrates how to recreate a customizable glowing button border with SVG and CSS. It covers positioning SVG rectangles, animating dashed segments, matching border radii, adding blur and fade effects, and exposing controls for line styles and glow settings.

Syllabus

- Introduction
- What we’re starting with
- Adding the SVG for this effect
- CSS to get the SVG in position
- Using dasharray on the SVG to create the gowing segments
- Using dashoffet to move the segments
- Matching the border radius using rx
- Adding the blur and making the SVG bigger to see the glow
- Repositioning the lines on top of the button
- Fixing the hover so it’s only on the button itself
- Improving the glows
- Adding the fade/in out on the glows
- Customizing the line lengths
- Creating solid line variation
- Creating an offset variation
- Fixing the rx / border-radius

Taught by

Kevin Powell

Reviews

Start your review of Animated Glowing Border - Easy to Customize CSS Effect

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.