Jump to content

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

TweenMax and TweenLite not working in Firefox

Recommended Posts

See the Pen VGEYeZ by goprime (@goprime) on CodePen


Hi, so tweenMax and tweenLite seem to be working fine in all browsers, but not in firefox, I thought Firefox supported it, right? Any help would be greatly appreciated, thanks in advance!

See the Pen VGEYeZ by goprime (@goprime) on CodePen

Link to comment
Share on other sites

Absolutely, GSAP supports pretty much every browser. The problem here is that "width" is an attribute for SVG elements in this particular case, not a CSS property, so you simply have to tell it to target the attribute like:




Here's a fork with the proper code, and I simplified a lot of your other code too: 

See the Pen 80f92f2d673361c3481caad3289c5382 by GreenSock (@GreenSock) on CodePen



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