Skip to content

CSS code snippet – How to make a background image stay still ?

body {
  background-image: url("img_tree.gif");
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: cover;
See also  How to declare an array in Java?

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.