Trusted by 2 Mn+ QAs & Devs to accelerate their release cycles
Last updated on : 2023-03-20
The overlay property is a non-standard property to make scrollbars display on top of content rather than below it. This feature is being standardized as the scrollbar-gutter property. By default, the overflow-anchor value is auto and it lets you mitigate this jarring user experience by keeping track of the position of an anchor node and adjusting the scroll offset accordingly.
Inherited
no
Applies to
Block-containers, flex containers, and grid containers
Initial value
visible
Animation type
discrete
Computed value
overflow-x: as specified, except with visible/clip computing to auto/hidden respectively if one of overflow-x or overflow-y is neither visible nor clip overflow-y: as specified, except with visible/clip computing to auto/hidden respectively if one of overflow-x or overflow-y is neither visible nor clip
CSS Overflow Module Level 3 # propdef-overflow
/* Keyword values */
overflow: visible;
overflow: hidden;
overflow: clip;
overflow: scroll;
overflow: auto;
overflow: hidden visible;
/* Global values */
overflow: inherit;
overflow: initial;
overflow: revert;
overflow: unset;
css-overflow-overlay.html
Source:css-overflow-overlay.html
index.html
Source:index.html
Browser Support For Safari on iOS Versions
Browser Support For Android Browser Versions
Browser Support For Chrome for Android Versions
Browser Support For Firefox for Android Versions
Debug webpages on the go with LT Debug Chrome extension.
Add to ChromeTest your website on 3000+ real browsers and operating systems for mobile and desktop with the LambdaTest cloud. Perform browser compatibility test for CSS overflow: overlay and many more web technologies that are a part of your website or web-application.
Last Modified date
2023-03-20
Data sourced from
Debug webpages on the go with LT Debug Chrome extension.
Add to ChromeHarness the power of Chromium-based engine to deliver responsive websites and web apps.
Try for freeGet 100 minutes of automation test minutes FREE!!