CSS3 lets you apply multiple backgrounds to an element using several properties. Included in this list of properties is background-image, background-repeat, background-position and background-size. In order to include these multiple backgrounds within a single element, you must specify the correct properties separated by commas.
body { background: url(../images/bottom-left.png) top right fixed no-repeat, url(../images/bottom-right.png) top left fixed no-repeat, url(../images/top-left.png) bottom left fixed no-repeat, url(../images/top-right.png) bottom right fixed no-repeat; background-color:#ffffff; }
Geef een reactie