Sign Up
Go Pro Sign Up Login

Buy Now and unlock this series




yours forever

Become a Pro and unlock everything




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.


Become a pro to download code and videos



2 months ago

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


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!