position: sticky is a new way to position elements and is conceptually similar to position: fixed. The difference is that a stickily positioned element behaves like position: relative within its parent, until a given offset threshold is met.
Demo
Documentation
Specification
Status in Chromium
Enabled by default (tracking bug) in:
- Chrome for desktop release 56
- Chrome for Android release 56
- Android WebView release 56
Consensus & Standardization
After a feature ships in Chrome, the values listed here are not guaranteed to be up to date.
- Shipped/Shipping
- Shipped/Shipping
- Shipped/Shipping
- Positive
Owner
Last updated on 2020-11-19
Comments
Removed in Blink http://src.chromium.org/viewvc/blink?view=revision&revision=177128 in Chrome 23. A new implementation has been enabled in 56.