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 - |
Pergunta
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>
Solução
Outras dicas
Maybe you forgot to set the class attribute on your loader-bg div
class="skrollable skrollable-between"
Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow