The demo uses background-attachment:fixed
to get full control of the movement.
How to make background move slower than text in Skrollr?
-
16-06-2023 - |
문제
tIt seems that I did as it is in example here but my background moving faster than text. What did I do wrong?
My HTML:
<div id="loader-bg" data-0="background-position:0px 0px;" data-100000="background-position:0px -50000px;"></div>
<div id="skrollr-body">
Content text...
</div>
해결책
다른 팁
Maybe you forgot to set the class attribute on your loader-bg div
class="skrollable skrollable-between"
제휴하지 않습니다 StackOverflow