Css

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 …

color-mix() is here. Use it.

For years, “a lighter version of the accent colour” meant baking in a second hex value. Now there’s color-mix(). Leyline’s tag chips use this pattern: on …