Jump to content
GreenSock

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

backgroundPositionX isn't working in FireFox

Recommended Posts

TweenMax.to(background, 1, {backgroundPositionX: '-=300', delay: 0.1, ease:Power1.easeOut});

 

Works fine in Chrome and Safari, but not FF. I guess it's because background position doesn't work in FF (css) but I don't know of any other way to do this.

 

Please help.

Thanks!

Link to comment
Share on other sites

Figured it out. 

 

TweenMax.to(background, 1, {backgroundPosition: '-300px 0', delay: 0.1, ease:Power1.easeOut});

 

Thanks for your help!

You're welcome.

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