Skip to content
WunderUI
All effectsBadge

Key Press

The key presses down and springs back up, to show which shortcut to use.

Pure CSSBadgePro

Meant for

KbdToolbarCommand

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.

⌘K

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.