+ 3

how can I make the background scroll?

similar to text overflow but with a background larger than its container

28th Aug 2016, 7:25 PM
Frank Gunsch
Frank Gunsch - avatar
5 Answers
+ 7
background-attachment: fixed; and you might want to use background-repeat: no-repeat; as well.
29th Aug 2016, 12:38 AM
Santtu Lehtinen
Santtu Lehtinen - avatar
+ 1
background-scroll: scroll; apply this to your css
31st Jan 2017, 5:41 AM
Teerath
Teerath - avatar
0
overflow:scroll; in ur css external file
12th Jan 2017, 8:27 AM
ayush srivastava
ayush srivastava - avatar
0
background-scroll:scroll;
13th Jan 2017, 7:36 AM
Tasnimul Hasan
Tasnimul Hasan - avatar
0
[CSS] background scroll does not work in SoloLearn Code Playground
8th Feb 2017, 6:32 AM
Pete Wright
Pete Wright - avatar