Skip to content
All effectsForms

Shudder

The amplitude decays instead of stopping flat. That is what separates an error from a tantrum.

Pure CSSFormsPro

Usage

Wrong code

Meant for

FieldOTP FieldForm

Examples

On a Input

The amplitude decays instead of stopping flat. That decay is what separates a reaction from a loop — in a form, put data-wm="once" on the field when validation fails, so it shudders once per failure.

The class is wm wm-shudder — the first half is the marker the trigger and reduced-motion rules hook into, the second is the effect.