Skip to content
WunderUI
All effectsCard

Lift Shadow

The card rises a little while its shadow grows, a clear hover state.

Pure CSSCardPro

Meant for

CardButtonKanban

Usage

On a Button

Hover it. The shadow lives on its own layer, so it can grow while the button rises 4px. That separation is the trick — a box-shadow on the element itself can only move with it. A hover state, so it ships as a 150 ms transition, only on devices that really hover; keyboard focus lifts it too.

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