Glossary Term
anchor-name
The anchor-name CSS property enables defining an element as an anchor element by giving it one or more identifying anchor names. Each name can then be set as the value of a positioned element’s position-anchor property to associate it with the anchor.
To position an element relative to an anchor element, the positioned element requires three features: an association, a position, and a location. The anchor-name and position-anchor properties provide an explicit association.
The anchor element accepts one or more <dashed-ident> anchor names set on it via the anchor-name property. When one of those names is then set as the value of the position-anchor property of an element that has its position set to absolute or fixed, the two elements are associated. The two elements become tethered by setting a location on the associated element relative to the anchor, making it an “anchor-positioned” element.
Syntax example: anchor-name: none;
Term Connections
Explore related terms connected by shared tags, shared categories, and relationship phrases. This map loads only when it comes into view.
Loading term connections…
