CSS

CSS – How to fix the background image with full width and full height

If you would like to fix a background image with css, use the code below.

[css]

body {

background-image:url(image-url.jpg);

background-size:100% 100%;

background-attachment:fixed;

}

[/css]

Views (231)

The following two tabs change content below.