Email or username:

Password:

Forgot your password?
Dave Letorey

Oh my word CSS is freaking amazing, coming soon to all browsers anchor-positioning.

This demo has ZERO JS and uses `anchor-positioning` and `popover`

codepen.io/CodeRedDigital/pen/

5 comments
Vadim Makeev

@dletorey Hmm, it only properly works for me in Chrome Canary 130 and doesn’t fully work in Chrome 128.

A popover is positioned at the bottom of the page, not next to the icon that opened it.
Dave Letorey

@pepelsbey I knew I should have checked I only used experimental browsers

Dave Letorey

@pepelsbey fixed with this:

/* inset-area has been changed to position area in chrome v129 */
inset-area: top;
position-area: top;

Thomas

@dletorey Not related to the awesome part I’m very much looking forward to, but doesn’t placing interactive elements inside a label have all kinds of weird side effects?

Go Up