html - css gradiant background long page -


I have a background image on my HTML with the CSS page, which is below the blue color, downward white

However, the 400x800 image and page are too long, so it repeats.

The page length changes at all times.

Is it possible to solve this that the background somehow stretches the page length? Or do not I repeat it and make the background white with white?

If yes, then please how to

to set the easiest image Repeat and then set the background color to one end of the gradient:

  body {background: white url ('yourImage') repeat-x top left; }   

It is possible to take a gradient to fit the window, but more work is needed and some will require JavaScript.

Comments