Firefox dev tools - Animations


Firefox now comes with a animation debug tool, super powerful and handy!

1 Jan, 2021 · 2 min read

First of all, HAPPY NEW YEAR!

Happy new year!

It’s been such a crazy year for this 2020 thing… I can’t even believe it’s finally done, but I have a feeling this mayhem is not done.

So let’s start the year on a positive note. I found another cool thing in Firefox dev tools, the animation debugger.

It’s amazing! It can modify, debug, and timeframe animations.

The tool looks like this:

Firefox animation

Firefox animation debug tool

To find the animation tool we have to open the developer tools:

  • Mac: Shift + + J
  • Windows/Linux: Shift + CTRL + J

Then we can inspect an element on the page that has an animation. And open the Animation tab.

Firefox animation debug tool

On the left, you see the animation in the Keyframe animation. In my case, it converts a square to a round div in three steps.

You can use the keyframe section to make modifications to each keyframe.

Firefox keyframe convert

Then on the right, you will see how long the whole animation takes in the purple bar, in my case, 2000ms (2s).

Firefox timeline

And in the bottom bit, we see the animation flow. I use an ease-in-out, so it’s a smooth line.

Firefox animation timeline

Then on top, we can control the animation to debug it. We can go back to step 0, pause/play, and set the speed.

All and all, it’s a super helpful tool to debug and work on your animations.

Thank you for reading, and let’s connect!

Thank you for reading my blog. Feel free to subscribe to my email newsletter and connect on Facebook or Twitter

Spread the knowledge with fellow developers on Twitter
Tweet this tip
Powered by Webmentions - Learn more

Read next 📖

I wrote 1000 articles, what’s next?

22 Dec, 2022 · 3 min read

I wrote 1000 articles, what’s next?

Too much, and yet not enough

7 Dec, 2022 · 3 min read

Too much, and yet not enough

Join 2099 devs and subscribe to my newsletter