Next.js Discord

Discord Forum

How to implement parallax background in Next.js App?

Unanswered
Turkish Angora posted this in #help-forum
Open in Discord
Avatar
Turkish AngoraOP
I am trying to implement a simple parallax effect where my content scrolls on top of a fixed background.

I’ve tried declaring the background as a constant and importing it into the main root layout, doesn’t seem to work.

Suggestions?

0 Replies