공부

[CSS] background image fixed! `background-attachment`

승가비 2019. 12. 21. 20:40
728x90
body {
  background-image: url("img_tree.gif");
  background-repeat: no-repeat;
  background-attachment: fixed;
}

[출처] https://www.w3schools.com/cssref/pr_background-attachment.asp

728x90
저작자표시 비영리 (새창열림)