Use CSS to do fade text from Black to White at tail.

I found out that using this way to white fade out the text.

<div style="font-size: 6pt;
 overflow: hidden;
 text-decoration: none;
 position: relative;
 white-space: nowrap;
 -webkit-mask-image: -webkit-linear-gradient(left, rgba(0, 0, 0, 1), rgba(0, 0, 0, 1), rgba(0, 0, 0, 1), rgba(0, 0, 0, 0) 99%);">
 Fade away my text</div>