Jump to content
GreenSock

Search In
  • More options...
Find results that contain...
Find results in...
ThePixelPixie

Div Flip, color change

Go to solution Solved by nico fonseca,

Recommended Posts

Hi there,

I'm adapting some code from one of the other forum questions here. It's all working pretty nicely. But I'm just not sure how to make an adjustment for transitioning the color. Right now the transition to the full-page background color is fairly abrupt. I'd really like it to be slightly more gradual. Is that something I can do just with CSS transition? I wasn't having any luck with that earlier, so I'm guessing it actually happens in the js somewhere. Actually, in general, the content for the full-screen part just feels clunky on that transition right now - which may also be because I'm using flex classes & bootstrap to position the content vertically and horizontally centered. Is there a better way to do that with Tweening?

 

Thanks in advance.

See the Pen vYZLyoX by ThePixelPixie (@ThePixelPixie) 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.
×