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

Kevin Powell on YouTubeWatch on YouTube

SaveMark complete

Sign in to save videos and track what you’ve finished.

IntermediateUI23 min

About this video

Kevin Powell recreates a blurred, rotating gradient border effect in CSS, working through a conic gradient, an animated custom property, a pseudo-element, and masking, then compares his version with a solution using border-image. It is aimed at front-end developers and designers who already know basic CSS.

What you’ll learn

  • Animate a conic gradient by registering a CSS custom property
  • Move a gradient into a pseudo-element to layer it behind content
  • Compare a mask-based approach with a border-image solution