Your browser can't do CSS anchor positioning yet, so the preview won't place the element. The code you build here still works in current Chrome, Edge, Firefox and Safari.
Build CSS anchor positioning visually
Loading preview…
Click the anchor to open and close it. Drag it towards an edge to watch the fallbacks take over.