Fading content using transparent gradients
Here's a cool article from the Polypane blog that looks at different ways of fading out text using CSS in a way that preserves the ability to highlight and copy text.
TL;DR - How background-clip
and mask-image
can be used to fade out text.