Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Fixed component #232

laurent512 started this conversation in General
Discussion options

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 ?

You must be logged in to vote

Replies: 1 comment

Comment options

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

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet

AltStyle によって変換されたページ (->オリジナル) /