Jump to content
Search Community

ScrollToPlugin exclude margin

ferriss test
Moderator Tag

Go to solution Solved by GreenSock,

Recommended Posts

Hey,

 

Most of the time I create HTML blocks with margins, as they collapse so they work well together when using a CMS. However, when using ScrollToPlugin it ignores the margin as it's outside the box-model, is there a way that I can include margin without using offsetY as offsetY will then not play ball with blocks that are full-bleed without margins.

 

Thanks

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...