background:url position

VNote 2018.05.19 08:13:31

background:url position

 

body { 

    background-image: url('w3css.gif');

    background-repeat: no-repeat;

    background-attachment: fixed;

    background-position: center; 

}

 

 

 

left top

left center

left bottom

right top

right center

right bottom

center top

center center

center bottom