Jump to content
GreenSock

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

Uncertain linear gradient + png background setup

Recommended Posts

I tried to add an animation for the gradient, not sure the setup is the right way or not, the png background will flash one time while playing the gradient animation.

See the Pen zYdjGXj by fredericklim (@fredericklim) on CodePen

Link to comment
Share on other sites

Hi flim,

 

It's really not a good idea to try and animate a background image like as the browser will reload the images. It might better to use a gradient that is easier to animate, like an SVG.

 

  • Like 3
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.
×