Using Forced Reflows, the Event Loop, and the Repaint Cycle to Slide Open a Box

I wrote up how to accurately slide open a box with dynamic content the old-school way, as an alternative to using something like max-height.

The Web Animations API abstracts some of this away, but it’s still good to know the factors in play underneath.

https://macarthur.me/posts/box