css Audio - Active file-generic CSS - Active Generic - Active HTML - Active JS - Active SVG - Active Text - Active file-generic Video - Active header Love html icon-new-collection icon-person icon-team numbered-list123 pop-out spinner split-screen star tv
CodePen probably won't work great in this browser. We generally only support the major desktop browsers like Chrome, Firefox, Safari, and Edge. Use this one at your own risk! If you're looking to test things, try looking at Pens/Projects in Debug View.
user profile image

Creating and animating a chunky gradient along a path. Normal gradients applied to a stroke are basically a rectangle of a gradient across the whole path, not smoothly flowing across the line of the path.

Instead, I've created the illusion of a gradient by cloning the path with multiple stroke colors and using stroke-dasharray and stroke-dashoffset.

Heart icon from http://icomoon.io

Comments

  1. No comments yet.

Leave a Comment Markdown supported. Click @usernames to add to comment.

You must be logged in to comment.
Loading...
Loading...