Jump to content
Search Community

I have a question about scrollsmoother.

goodcontext test
Moderator Tag

Go to solution Solved by goodcontext,

Recommended Posts

  • Solution

I found the answer myself.
That's because the background image has "data-speed: 0.1".
#wrapper has a "position: fixed;" value, so it works well when I put a background image outside #wrapper.

I don't know, but I think if you put the value "data-speed: 0.1", the "position: fixed;" attribute will also be automatically added.
I don't know how to erase this topic, so I'll just leave it.

 

See the Pen rNJjdZm by goodcontext (@goodcontext) on CodePen

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...