My take on fading content using transparent gradients in CSS
https:/
So that's two ways to fade text content.
mask-imageis a little more flexible, butbackground-clipis a little more widely supported. Both are great ways to fade text content, and I hope you can use them in your projects!