MDN self-hosted library · e01.org

Overview of scroll anchoring

Runnable notebook: every JavaScript, HTML and CSS example on this page executes in a sandboxed local frame. Nothing leaves the browser.

css
body {
  overflow-anchor: none;
}
css
.container {
  overflow-anchor: none;
}