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