Sign Up
Go Pro Sign Up Login

Buy Now and unlock this series

$

49

.99

yours forever

Become a Pro and unlock everything

$

24

.99

per month

Animating Our Accordion With the Web Animations API

Now that we have updated our accordion component, we still need to get the animation working for it so we will use the web animations API to accomplish that.

Downloads

Become a pro to download code and videos

Comments

Noam

2 months ago

great tutorial, as always :) repo link is leading to a 404 though...

Joe

2 months ago [edited]
height: `${initialHeight}px` 

taking on px is breaking the accordion animation in Chrome

it is working for me without px 🤷‍♂️

Want to join the conversation?

Become a Pro member today!