Animated Glowing Border - Easy to Customize CSS Effect
Offered By: Kevin Powell via YouTube
Course Description
Overview
Learn how to create an animated glowing border effect using CSS in this 50-minute tutorial. Inspired by a Dribbble shot, explore techniques for adding SVG elements, positioning with CSS, and creating glowing segments using dasharray and dashoffset. Master border radius matching, blur effects, and hover interactions to enhance button designs. Discover ways to customize line lengths, create solid line variations, and implement offset effects. Perfect for web developers looking to add eye-catching, easily customizable CSS animations to their projects.
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
Related Courses
Probabilistic Graphical Models 1: RepresentationStanford University via Coursera Computer Security
Stanford University via Coursera Intro to Computer Science
University of Virginia via Udacity Introduction to Logic
Stanford University via Coursera Internet History, Technology, and Security
University of Michigan via Coursera