CSS · Properties — CSS Scroll Anchoring

overflow-anchor

The CSS overflow-anchor property. Initial value: auto. Not inherited.

Syntax
overflow-anchor: auto | none

Example

Try it

Notes

Media: visual. Applies to: allElements. Computed value: asSpecified.

Learn this in the course

Reference pages are the quick answer. The course explains the why, shows the full example and ends with a challenge.

Open the course