Skip to content
WunderUI
All effectsButton

Ghost Out

A filled button empties to an outline on hover without moving a pixel.

Pure CSSButton

Meant for

Button

Usage

On a Button

Hover it. Solid turns to outline in 150 ms. The outline is an inset shadow, not a border, so the button does not shift by a pixel as it changes state.

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