CSS anchor positioning lets you place an element, such as a tooltip, menu or popover, relative to another element without JavaScript. It is powerful, but the position-area syntax can be hard to picture. The latest Chrome DevTools update, covering features in Chrome 155 and 156, adds tools that make it visual.

A visual position-area editor

In the Styles tab, a small swatch now appears next to any position-area declaration. Clicking it opens an editor that shows the anchor grid. You can pick the regions where the positioned element should sit, set the axes and toggle the self keyword, and DevTools writes the matching value for you.

This is useful because position-area works on a three-by-three grid around the anchor, and values that span several cells are easy to get wrong when typed by hand.

Better overlays and popover support

DevTools can now select implicit anchors from popover adorners, which helps when a popover is anchored to the button that opened it. The anchor positioning overlay also shows the boxes the browser uses to calculate placement, so you can see why an element ended up where it did.

Other additions worth knowing

The same update adds Web Install manifest diagnostics in the Application and Issues panels, a warning for Early Hints in the Network panel, smoother timeline navigation in the Performance panel and a CPU performance tier override in Sensors. For AI coding agents, DevTools added a tool for reading CSS styles with pagination.

A quick workflow

Build the anchor and the positioned element first. Give the anchor an anchor-name and point the positioned element to it with position-anchor. Then open DevTools, find the position-area declaration and use the swatch to try different regions while watching the page. Once the placement looks right, copy the value back into your stylesheet.

Why it matters for designers

Anchor positioning removes a common reason to load a positioning library. Visual tooling lowers the learning curve, which makes it more realistic to use the native approach in production. As always, check browser support for your audience and keep a sensible fallback position.

Sources:

GeForce Now game streaming is sold out for manypc

GeForce Now game streaming is sold out for many

permusOcak 21, 2025
How Close Is That Photo to the Truth? What to Know in the Age of AIartificial intelligence

How Close Is That Photo to the Truth? What to Know in the Age of AI

permusAralık 29, 2023
Ryzen-powered mini PC with 32GB RAM drops to $398AMD

Ryzen-powered mini PC with 32GB RAM drops to $398

numan permusMayıs 14, 2025