Anchors Aweigh! (2026.02.26 @ PHP Antwerp)

On Feb 26, 2026 I gave a talk at a PHP Antwerp Meetup. The talk was called “Anchors Aweigh!” and covered CSS Anchor Positioning.

We’ve all been there. You need a popover to attach to a button, but they aren’t parent/child. You end up reaching for JavaScript, calculating coordinates, and wrestling with viewport edges. CSS Anchor Positioning is a recent API designed to solve exactly this. This talk is a practical, down-to-earth look at how it works. We’ll explore the anchor() function, the position-anchor and position-area properties, and @position-fallback to build UIs that are truly context-aware and robust, all without the JS hacks.

I also gave this talk at State of the Browser 2026, just a few days later. You can find the slides and a recording of the talk in the State of the Browser post.

~

💁‍♂️ If you are a conference or meetup organiser, don't hesitate to contact me to come speak at your event.

Published by Bramus!

Bramus is a frontend web developer from Belgium, working as a Chrome Developer Relations Engineer at Google. From the moment he discovered view-source at the age of 14 (way back in 1997), he fell in love with the web and has been tinkering with it ever since (more …)

The thoughts and ideas expressed in this post are my own and not that of my employer. Unless noted otherwise, the contents of this post are licensed under the Creative Commons Attribution 4.0 License and code samples are licensed under the MIT License

Leave a comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.