How to implement Gradient Opacity (Mask) using html css javascript
Posted
by brz dot net
on Stack Overflow
See other posts from Stack Overflow
or by brz dot net
Published on 2010-04-13T07:06:30Z
Indexed on
2010/04/13
7:13 UTC
Read the original article
Hit count: 271
I have to show 25% right screen in such way that the text looks appeared from right. For this I need to set opacity from 0 to 100 at 25% right side screen means rightmost opacity would be 0 and at 75% the opacity would be 100. For this, I took a Div and set opacity but It looks bad because of border. I need to gray out text. It looks a block.
Let me know how I can implement cross browser compatible gradient opacity mask for right screen text. What is the best way to do this?
© Stack Overflow or respective owner