`overflow: overlay`
Discouraged
This feature is discouraged. Consider using overflow instead. For the rationale, see:
The overflow: overlay
CSS declaration is an alias to overflow: auto
. Historically, it caused non-standard behavior, allowing scrollbars to overlay content without taking up layout space.
Browser support (view on caniuse.com)
- Chrome 114 Released on 2023-05-30
- Chrome Android 114 Released on 2023-05-30
- Edge 114 Released on 2023-06-02
- Firefox 112 Released on 2023-04-11
- Firefox for Android 112 Released on 2023-04-11
- Safari 12 Released on 2018-09-17
- Safari on iOS 12 Released on 2018-09-17