-
Notifications
You must be signed in to change notification settings - Fork 156
Fixed component #232
laurent512
started this conversation in
General
Fixed component
#232
-
Hello,
I am willing to code a landing with with multiple sections , each section takes 100vh.
The first section is just a picture, that should not move when scroll is occuring.
That would give an effect of the second section coming on top of it.
How to do so , is it like Yspeed was -inf ?
Beta Was this translation helpful? Give feedback.
All reactions
Replies: 1 comment
-
Hi @laurent512
If I understand your intention correctly, you do not need the react-scroll-parallax
at all. This can be achieved through CSS like so:
https://codesandbox.io/s/fixed-background-hero-example-9w75gq
Beta Was this translation helpful? Give feedback.
All reactions
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment