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, theposition-anchorandposition-areaproperties, and@position-fallbackto 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.