Answers for "css fixed background image but not text"

CSS
5

how to make fixed background image in css

body {
  background-image: url("img_tree.gif");
  background-repeat: no-repeat;
  background-attachment: fixed;
}
Posted by: Guest on February-16-2021
2

Keep background image fixed during scroll using css

background-attachment: fixed;
Posted by: Guest on April-02-2020

Code answers related to "css fixed background image but not text"

Browse Popular Code Answers by Language