Animation

The mobile menu morph

The first version of Leyline’s mobile menu had two icons stacked in the button: a hamburger and an X. CSS swapped them based on whether the menu was open. It worked, but it …