4
I have a vector image
<img src="images/first-page/vectors/waves-723178.svg" alt="Imagem vetorial decorativa" class="vector-wave">
and it is positioned to the left of the screen
.vector-wave {
position: relative;
transform: translate(-500px, 420px);
z-index: 0;
}
then display only part of the image.
The point is: when I "scroll" my page, this image should go right to a certain extent;
So that if "scroll" down the image goes to the right, if I contract, "scroll" up the image return to the left.
Example:Note the image that is to the left of this url
PS: I saw a plug in called Super scroll orama, but I found it difficult to use, in case someone knows how to use it would help me a lot too.