Line Rainbow text
Is there a way to animate text with css to do directional gradients similar to this picture?
![No description](https://cdn.answeroverflow.com/1198010641475194970/Screenshot_2024-01-19_at_3.05.30_PM.png)
2 Replies
you can clip text to the background. so you can create the gradients as bg image
animating it will be a bit more difficult. you could use js to update custom properties or use the css @property (not fully supported yet)
https://codepen.io/chooking/pen/WNmjmVJ
This is not the exact thing you want, but it gives you an idea of how it works.