background attachment fixed two parts code example
Example: html static background
body {
background-image: url("img_tree.gif");
background-position: center;
background-repeat: no-repeat;
background-attachment: fixed;
background-size: cover;
}