Why do you have the option to add the scroll value to background-attachment? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Why do you have the option to add the scroll value to background-attachment?

Doesn't it scroll by default?

17th Nov 2016, 8:21 PM
Alex Rivera
Alex Rivera - avatar
2 Answers
+ 1
The default value of background-attachment is scroll. But it has also other options like fixed, local, initial and inherit. For background-attachment reference, you can visit this link: http://www.w3schools.com/CSSref/pr_background-attachment.asp
18th Nov 2016, 3:46 AM
Mark Ian Pamintuan
Mark Ian Pamintuan - avatar
+ 1
scroll
29th Sep 2021, 2:49 PM
issaadi abde slem
issaadi abde slem - avatar