overflow: overlay worked in Chrome 15 to 113, Edge 79 to 113, Safari 4 to 11.4, and Opera 15 to 99. See the deprecation status and the modern alternatives.

Prince Dewani
May 1, 2026
CSS overflow: overlay is a legacy, non-standard value for the overflow shorthand that paints scrollbars on top of content instead of taking up layout space. It worked in Chrome 15 to 113, Edge 79 to 113, Opera 15 to 99, Samsung Internet 4 to 22, and Safari 4 to 11.4, while Chrome 114+, Edge 114+, Firefox, and Internet Explorer treat it as overflow: auto.
This guide covers what overflow: overlay is, the browsers that support it, the deprecation status, the difference from overflow: auto, the alternatives, and how to fix it in Chrome.
CSS overflow: overlay is a non-standard value for the CSS overflow shorthand. It tells the browser to clip content at the padding edge and paint scrollbars on top of the content rather than reserve gutter space for them. The CSS Working Group never adopted overlay into a published specification, and modern Chromium browsers parse it as overflow: auto.
CSS overflow: overlay paints overlay scrollbars only on legacy WebKit and older Chromium builds. Every modern engine either aliases it to overflow: auto or has never supported it as a distinct value.
Chrome supports overflow: overlay as a distinct value from Chrome 15 to 113 on Windows, macOS, Linux, ChromeOS, and Android. Chrome 94 added a console deprecation warning when the keyword was used. Chrome 114 aliased the value to overflow: auto, so the rule still parses but the scrollbar reserves layout space instead of floating on top of the content.
Microsoft Edge supports overflow: overlay from Edge 79 to 113 on Windows, macOS, and Linux on the Chromium engine. Edge 114 follows the upstream Chromium change and aliases overflow: overlay to overflow: auto. Legacy EdgeHTML 12 to 18 never supported overflow: overlay.
Firefox has never supported overflow: overlay as a distinct value on Windows, macOS, Linux, or Android. Modern Firefox parses the keyword and computes it as overflow: auto, so the rule does not throw a syntax error, but no overlay scrollbar is painted on the box.
Safari supports overflow: overlay from Safari 4 to 11.4 on macOS and from Safari 4 to 11.4 on iOS. Safari 12 and later still parse the keyword but rely on the platform overlay scrollbar setting in macOS, so the visual result depends on the user's mouse and trackpad preferences. iOS Safari has used floating scrollbars by default since iOS 7, which makes overlay redundant on touch devices.
Opera supports overflow: overlay from Opera 15 to 99 on desktop on the Blink engine. Opera 100 follows Chromium 114 and aliases the value to overflow: auto. Opera Mobile picked up overlay support from Opera Mobile 14 and lost the distinct behavior on the same Chromium 114 base.
Samsung Internet supports overflow: overlay from Samsung Internet 4 to 22 on Galaxy phones and tablets. Samsung Internet 23, which is built on Chromium 114, aliases overlay to overflow: auto. Devices that have not yet rolled forward to Samsung Internet 23 continue to paint the legacy overlay scrollbar.
Chrome for Android supports overflow: overlay from Chrome 18 to Chrome 113, after which the value is aliased to overflow: auto on the same upstream schedule as desktop Chromium. The legacy Android Browser on KitKat and earlier did not paint overlay scrollbars and treated the keyword as an unknown value. Modern Android WebView follows the system Chrome version.
Internet Explorer 6 through 11 do not support overflow: overlay. The Trident engine treats the keyword as an unknown value and falls back to overflow: visible. Microsoft has retired Internet Explorer in favor of Edge, so users on Windows who want overlay-style scrollbars should switch to Microsoft Edge and rely on scrollbar-gutter.
Note: overflow: overlay behaves differently across legacy Chromium, Safari, and modern Edge builds. Test it on real browsers and OS with TestMu AI. Try TestMu AI free!
Yes. overflow: overlay is deprecated in Chromium and was never part of any published CSS specification.
Both values clip content at the padding edge and create a scroll container. The split is about whether the scrollbar reserves layout space.
| Dimension | overflow: overlay | overflow: auto |
|---|---|---|
| Standard status | Non-standard, removed from Chromium | Standardized in CSS Overflow Module Level 3 |
| Scrollbar layout | Painted on top of content, no gutter reserved | Reserves gutter space inside the padding edge |
| Content reflow on overflow | Content width stays fixed when the scrollbar appears | Content width shrinks by the scrollbar width when overflow starts |
| Scrollbar visibility | Visible only while the user is scrolling on macOS, always on Chromium 113- | Visible whenever the content overflows the box |
| Browser support | Chrome 15 to 113, Safari 4 to 11.4, Opera 15 to 99, Samsung Internet 4 to 22 | Chrome 4+, Edge 12+, Firefox 2+, Safari 3.1+, Opera 10+, Samsung Internet 4+, IE 6+ |
| Recommended for new code | No, migrate to overflow: auto with scrollbar-gutter | Yes, the standard value for on-demand scrollbars |
The CSS Working Group routed the overlay use case into a set of standard scrollbar properties. Combine them on the scroll container to keep the layout stable and to thin the track without relying on the legacy keyword.
overflow: overlay stopped painting overlay scrollbars in Chrome 114. The keyword still parses, but Chrome treats it as overflow: auto, so the scrollbar reserves layout space. Migrate to the standard scrollbar properties with these steps.
All overflow: overlay version numbers and platform notes in this guide come from these primary sources:
Did you find this page helpful?
More Related Hubs
TestMu AI forEnterprise
Get access to solutions built on Enterprise
grade security, privacy, & compliance