Quote:
Originally Posted by stevej
You're not going to be able to stretch the gradient
|
Actually, I found a way. Make an apdiv that serves as a background (in other words the z-index is lower than all other elements and the width and height is 100%). Then put an image inside of this div and set that image's width and height to 100%.
What's really awesome is that you can have multiple backgrounds if you want - one tiling in repetition, and another as a gradient overlay that will scale when you resize.
There, I've just shared with you the best trick in my toolbox.
View example here.
__________________
fueled by caffeine, entheogens, & breaKcore
|