CSS anchor-scope Property Reference

The CSS anchor-scope property is a experimental property in CSS Anchor Positioning. Review its formal syntax, computed behavior, and practical declarations.

CSS anchor-scope Property Reference

The CSS anchor-scope property is a experimental property in CSS Anchor Positioning. Review its formal syntax, computed behavior, and practical declarations.

Updated 2026-08-12

anchor-scope overview

The CSS anchor-scope property is a experimental property in CSS Anchor Positioning. Review its formal syntax, computed behavior, and practical declarations.

The property is not inherited by default. Use an explicit global keyword when inheritance is intended.

Syntax and formal definition

anchor-scope formal syntax
FieldValue
Formal syntaxnone | all | <dashed-ident>#
Initial valuenone
Applies toallElements
InheritedNo
Percentagesno
Computed valueasSpecified
Animation typediscrete
Mediavisual
Specification groupCSS Anchor Positioning
StatusExperimental

Practical examples

These declarations demonstrate valid ways to set anchor-scope. The initial and inherit global keywords remain available even when a property-specific value is preferable.

anchor-scope live example
CSS .reset-example { anchor-scope: initial; } .inherit-example { anchor-scope: inherit; } @supports (anchor-scope: initial) { .supported { anchor-scope: initial; } }

Description

The CSS anchor-scope property is a experimental property in CSS Anchor Positioning. Review its formal syntax, computed behavior, and practical declarations.

References

  1. MDN: anchor-scope
  2. MDN: CSS Properties Reference

Similar or alternative tools

Don't forget to set a bookmark for tool.io!
Privacy | Imprint | Cookies