Skip to content
WunderUI
All effectsOverlays

Anchor Pop

The popover grows out of its arrow, so it is clear what opened it.

Pure CSSOverlaysPro

Meant for

PopoverDropdown MenuHover Card

Usage

On a Popover

Click the gear. The popover grows out of its own anchor rather than out of its middle: --wm-origin is the point above the panel where the arrow sits. Set it to the anchor's side and the same class covers a menu opening upward. It closes faster than it opens: mark the panel data-wm-leaving and remove it when that exit has finished.

NotificationsChoose what reaches your inbox.

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