Alex Rivera | Logout

Creating a linear transparent gradient to a div

Asked 2010-10-28T17:01:37.143
12

I'd like to create a linear transparent gradient to a div. Is there any way to do that with jquery? Or should I use some other library like raphaeljs? I'd like to achieve an effect like the following:

alt text

Edit
Report

1 Answer

4

I created it using jquery and 112 divs. A parent div for the ten lines of text divs each more transparent, and a background div with 100 divs each more transparent.

http://jsfiddle.net/generalhenry/bDd5w/

answered 2010-11-06T05:05:35.517

Your Answer