Weiß jemand, wie es möglich ist, dass sich bei einem background-image die position automatisch anpasst? Schwer zu erklären was gemeint ist, einfach anzusehen z.B. hier: https://www.gaastraproshop.com/de/herren style="background-position: 50% xxxx;
Beim scrollen passt sich der Wert automatisch an, was einen schönen Effekt erzeugt.
Das nennt man parallax. bspw: http://pixelcog.github.io/parallax.js/
1 Like
Hi Shopwareianer,
Auch mir hat deine Antwort geholfen. Dankeschön.
Wir binde ich denn richtig die parallax.js in Shopware ein?
Danke und VG