how to set background image position in css code example
Example 1: html static background
body {
background-image: url("img_tree.gif");
background-position: center;
background-repeat: no-repeat;
background-attachment: fixed;
background-size: cover;
}
Example 2: move css background image
background-image: url('w3css.gif');
background-repeat: no-repeat;
background-attachment: fixed;
background-position: center;
Example 3: background position in html
background-position: right top;