Here is my violin
I am trying to create a web page where the user can scroll through several full-screen images with HTML elements superimposed that seem to be fixed (do not scroll around).
In my violin you can see that currently I have text that is absolute and they are moving relative to their parent. Instead, I would like to place the text where I would like it to be displayed above each background image, and then when the user scrolls down, the text remains fixed and then closes / opens in the next section (depending on the direction).
I tried using the values position: fixedand z-index, but I could always see the fixed elements when I would like the fixed elements to display only with their slide.
Adding text with image files does not meet my requirements, since in the end I would like dynamic elements of text and video to be in these fixed elements. Thanks so much for your ideas.
source
share