Share Posted September 17, 2018 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 More sharing options...
Share Posted September 17, 2018 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: attr:{width:0} 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 Better? 4 Link to comment Share on other sites More sharing options...
Author Share Posted September 19, 2018 @GreenSock Hi, thank you so much for the reply and the help, thank you so much! 1 Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now