You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to make a parallax block with a background image and some text, but when the text is at the bottom of the div, it "overflows" it and appears outside of the image when you scroll too far.
The same happens with a semi opaque overlay I'm using to darken the background. Here's a screenshot:
I am trying to make a parallax block with a background image and some text, but when the text is at the bottom of the div, it "overflows" it and appears outside of the image when you scroll too far.
The same happens with a semi opaque overlay I'm using to darken the background. Here's a screenshot:
And here's my code:
CSS:
JS:
How can I have both elements inside the image while keeping the parallax effect?
The text was updated successfully, but these errors were encountered: