CSS overflow-anchor Property Reference

The CSS overflow-anchor property is a standard property in CSS Scroll Anchoring. Review its formal syntax, computed behavior, and practical declarations.

CSS overflow-anchor Property Reference

The CSS overflow-anchor property is a standard property in CSS Scroll Anchoring. Review its formal syntax, computed behavior, and practical declarations.

Updated 2026-08-12

overflow-anchor overview

The CSS overflow-anchor property is a standard property in CSS Scroll Anchoring. 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

overflow-anchor formal syntax
FieldValue
Formal syntaxauto | none
Initial valueauto
Applies toallElements
InheritedNo
Percentagesno
Computed valueasSpecified
Animation typediscrete
Mediavisual
Specification groupCSS Scroll Anchoring
StatusStandard

Practical examples

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

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

Description

The CSS overflow-anchor property is a standard property in CSS Scroll Anchoring. Review its formal syntax, computed behavior, and practical declarations.

References

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

Similar or alternative tools

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