티스토리 뷰

공부

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

seunggabi 승가비 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
댓글
댓글쓰기 폼