Jump to content


Scale rectangle shaky in FireFox?

Recommended Posts

Hi all,


Recently switched to the JS environment, after working with Greensock for some months in Flash.

I have a question: I've been working on a banner ad where a DIV is rotatated and scaled. It is a scale up of 20% over 4 seconds, causing FireFox to render the animation not very smoothly. Chrome works like a charm and Safari is having some problems too I guess (I couldn't watch it on IE yet...). I added a codepen, but have the feeling the effect is a little bit worse in my own file.

Any ideas how this is caused? Is it the rotation combined with the scale?

Thanks in advance!

See the Pen yygEeK by anon (@anon) on CodePen

Link to comment
Share on other sites

Hi and welcome to the GreenSock forums.


I'm pretty certain what you are seeing is just FireFox's poor handling of small transform changes and perhaps some pixel-snapping.


Here is your demo using a CSS transition for the same effect and it also runs poorly



Link to comment
Share on other sites


Thanks for the CSS test, which does look the same indeed. Your answer sounds reassuring, I guess the lesson is to be careful with small scaling and the kind.

Thanks for the quick answer, cool to be an active member now instead of the occasional reading of threads :)

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.