Animated Gradient Underline for Link Hover State
------------------------------------------------
This pen shows how CSS gradients can be used to create an animated gradient underline for a link hover state with relative sizing. Link text and underline colour can be changed by updating a single CSS variable.
A [Pen](https://codepen.io/GeorgePark/pen/NXjwaN) by [George W. Park](https://codepen.io/GeorgePark) on [CodePen](https://codepen.io).
[License](https://codepen.io/GeorgePark/pen/NXjwaN/license).
<p>Hover over link to see animated gradient underline:</p>
<a href="#">link gradient underline</a>