Sunday 3 February 2008

Gradient backgrounds

Ever wondered how they do that? Those nice gradient backgrounds in Web 2.0 websites like Jquery. I will tell you how to do that.

  1. In Illustrator create a picture like this example.
  2. In your stylesheet add this line:

BODY { background-image: url(backgr.jpg);

And you're ready!