overflow-anchor
Newly availableSince 202680% of users
A browser optimization that helps keep your scroll position steady when content is added to the page above where you're looking. It prevents the page from 'jumping' unexpectedly.
What's modern
From web-features, MDN's browser data and our snippets, checked dailyModernIn every major browser since September 2026. Widely available around March 2029.
See how modern your own CSS is.Check your CSS →
Quick facts
- Initial value
auto- Inherited
- No
- Applies to
- all elements
- Animation type
- discrete
Quick example
.chat-window {
/* Prevents the scroll position from jumping when new messages load */
overflow-anchor: auto;
}Values
autononeRelated snippet
Keep the chat log from jumpingLayout →overflow-anchor browser support
BaselineNewly availableSince 2026 this feature works across the latest devices and browser versions. This feature might not work in older devices or browsers.Works in all modern browsers. May need a fallback for older browsers.
Usage80%of people can use this20% use a browser without it.
Browsers
56+
66+
27+
79+Mobile
56+Android
66+Android
27+iOS