In CSS, some properties have shorthand. One property that takes separated values. Syntactic sugar, as they say, to make authoring easier. Take transition, which might look something like:
transition: border 0.2s ease-in-out;
We could hav...
Dan Wilson documents a classic annoyance with transforms:
/* will (perhaps unintentionally) override the original translate */
The native (and WET) solution is list t...
I stumbled into an interesting problem the other day. I wanted to animate an element with a random animation-duration. This was the non-randomized starting point:
See the Pen Random numbers CSS #1 by Robin Rendle (@robinrendle) on CodePen.
This is the...