Skip to content
WunderUI
All effectsButton

Sweep Rim

A light sweeps around the rim on hover, for buttons and cards that invite a click.

Pure CSSButton

Meant for

ButtonCardKPI

Usage

On a Button

Hover it, or tab to it. The quiet one of the six: a hairline arc rather than a glow. With data-wm="hover" it holds a still gradient edge at rest and only starts turning on hover or keyboard focus, which makes it the one you can use more than once per screen.

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