Anchor positioning: anchor(), position-area, position-try
Baseline 2026 neu verfügbar (Chrome 125, Safari 26.0, Firefox 147 im Januar 2026). Verfeinerungen landen weiter (Firefox 148 position-try-order, Safari 26.2 flip-x/flip-y und position-visibility, Chrome 151/Safari 27 position-anchor: normal). Hinweis: `inset-area` wurde in `position-area` umbenannt; nutze den neuen Namen.
Chrome 125
Edge 125
Safari 26
Firefox 147
Positioniert ein Element relativ zu einem anderen irgendwo im DOM: Tooltips, Menüs und Popover heften sich an ihren Auslöser, `position-area` wählt die Seite, `position-try-fallbacks` klappt sie um, wenn sie überlaufen würden. Ersetzt Popper/Floating UI in den meisten Fällen.
.fx-036-btn{anchor-name:--fx-036;padding:8px 14px;font:600 14px system-ui}
.fx-036{
position-anchor:--fx-036;position-area:block-end center;margin:6px 0;
position-try-fallbacks:flip-block;
inset:auto;width:max-content;max-width:220px;padding:8px 12px;border:0;border-radius:8px;background:#111;color:#fff;font:13px system-ui;
}
.fx-036 :is(a,button,input,select,textarea):focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }
<button class="fx-036-btn" popovertarget="fx-036-tip">Hover-free tooltip</button>
<div id="fx-036-tip" popover class="fx-036">Anchored below, flips above near the bottom edge.</div>Fallback: Sichere mit `@supports (anchor-name: --a)` ab; sonst zentriere das Popover mit `margin:auto` (Popover-Default).