Key Press
The key presses down and springs back up, to show which shortcut to use.
Meant for
Usage
On a Kbd
The key goes down and its bottom edge shortens with it, so the cap looks like it has depth rather than just sliding. Two properties, one keyframe — anything more and it stops reading as a key.
The class is wm wm-key-press — the first half is the marker the trigger and reduced-motion rules hook into, the second is the effect.