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

YouTube

Make an Animated Glowing Border Effect with CSS

Kevin Powell via YouTube

Overview

Coursera Flash Sale
40% Off Coursera Plus for 3 Months!
Grab it
Learn to create an animated glowing border effect with CSS by recreating Google's AI Mode visual design. Start with basic HTML structure and CSS setup, then progress through setting up the border foundation and implementing techniques to fake a transparent background. Add outer glow effects using CSS properties, followed by creating inner glow elements to enhance the visual depth. Fine-tune blur values for optimal appearance and organize your code using custom CSS properties for better maintainability. Explore techniques for flipping the effect to different sides and improve the gradient customization for more dynamic results. Master two different approaches to animating the gradient and glow effects - first by changing colors dynamically, then discover a simpler animation method. Access the complete CodePen implementation and reference Google's original AI Mode design throughout the 30-minute tutorial that covers everything from basic setup to advanced animation techniques.

Syllabus

00:00 - Introduction
00:30 - the HTML and starting CSS
01:30 - Setting up the border
06:48 - Faking a transparent background
09:00 - Adding the outer glow
13:20 - Making the inner glow
16:55 - Tweaking the values of the blur
18:18 - Adding custom properties
20:07 - Flipping it to the other side
22:25 - Improving and customizing the gradient
24:30 - Animating the gradient and glow by changing the colors
27:35 - An easier way to animate it

Taught by

Kevin Powell

Reviews

Start your review of Make an Animated Glowing Border Effect with CSS

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.