DEV Community

Cover image for Firefox dev tools - Animations
Chris Bongers
Chris Bongers

Posted on • Originally published at daily-dev-tips.com

Firefox dev tools - Animations

First of all, HAPPY NEW YEAR!

Happy new year!

It's been such a crazy year this 2020 thing...
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 literally 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 simply 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 convert 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, you can see 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, even more, we can go back to step 0, pause/play, and set the speed.

All and all, it's a super useful 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

Top comments (4)

Collapse
 
waylonwalker profile image
Waylon Walker

Firefox has some killer dev tools, not sure why but I (like 80% of the world) always stay in a chromium browser. Currently loving brave.

Collapse
 
dailydevtips1 profile image
Chris Bongers

Indeed, keep finding more and more useful tools in Firefox.
I think the shift away from google products is slowly getting more and more traction, not just Chrome but all the Google products seem to be getting some move aways.

Collapse
 
artydev profile image
artydev

Happy new year Chris,
and thank for all your sharings
Regards

Collapse
 
dailydevtips1 profile image
Chris Bongers

Happy new year to you too!
I will keep them coming in 2021 ✨