Jump to content
Search Community

stylize scrollbar

Monstreur test
Moderator Tag

Warning: Please note

This thread was started before GSAP 3 was released. Some information, especially the syntax, may be out of date for GSAP 3. Please see the GSAP 3 migration guide and release notes for more information about how to update the code to GSAP 3's syntax. 

Recommended Posts

Hey guys,

 

First of all, let me appologize for my bad english because i'm french.
I have a problem with scrollmagic. Usually, i put th code below to customize my scrollbar with CSS. But when it's with scrollmagic, it has no effect.

 

::-webkit-scrollbar-track
{
  background-color: #fff;
}

::-webkit-scrollbar
{
  width: 8px;
  background-color: #000;
}

::-webkit-scrollbar-thumb
{
  -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
  background-color: #000;
  border-radius: 8px;
  border: 2px solid #fff;
}

 

Does a solution exist for this issue or i'm blocked with the default weird scrollbar ?

you can see the result in this url : http://test.jdo-univers.eu

Link to comment
Share on other sites

HI @Monstreur :)

 

ScrollMagic is not a GreenSock product and we need to keep our focus here on GSAP related problems and questions. Sometimes ScrollMagic and tweens are involved in the same question, but this looks like something you'd probably want to post here:

 

https://github.com/janpaepke/ScrollMagic/issues

 

If you have GSAP related issues, we're happy to help.

 

Happy tweening.

:)

  • Like 2
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...