0

attachment: scroll;

What is the difference between applying the "scroll"-attachment and having no attachment at all? Seems to give the same effect, background images stays while the user scrolls on, but I guess i'm missing something.

11th Dec 2018, 7:47 AM
mattias_hedman
1 Odpowiedź
+ 2
scroll is default, so setting it or not will generally be be the same unless of course a certain element inherited a different value, in which case, setting the element's style value to scroll will help override that Further reading: https://css-tricks.com/almanac/properties/b/background-attachment/ I hope this helps! 😊
11th Dec 2018, 10:39 AM
Janning⭐
Janning⭐ - avatar