Trusted by 2 Mn+ QAs & Devs to accelerate their release cycles
css-sticky is a lightweight polyfill which uses native CSS APIs to keep your fixed and relative elements stick to their desired position when the page is scrolled.
Last updated on : 2023-03-20
Browser Versions
IE
Edge
Firefox
Chrome
Safari
Opera
Fully Supported
Partially
No Support
Inherited
no
Applies to
all elements
Initial value
static
Animation type
discrete
Computed value
as specified
Creates stacking context
yes
CSS Positioned Layout Module Level 3 # position-property
position: static;
position: relative;
position: absolute;
position: fixed;
position: sticky;
/* Global values */
position: inherit;
position: initial;
position: revert;
position: unset;
CSS position:sticky on IE is not supported on any IE versions.
CSS position:sticky on Edge is fully supported on 91-111, partially supported on 16-90, and not supported on 12-15 Edge versions.
CSS position:sticky on Firefox is fully supported on 59-113, partially supported on 32-58, and not supported on 2-31 Firefox versions.
CSS position:sticky on Chrome is fully supported on 91-114, partially supported on 56-90, and not supported on 4-55 Chrome versions.
CSS position:sticky on Safari is fully supported on 7.1-16.4, partially supported on 6.1-7, and not supported on 3.2-6 Safari versions.
CSS position:sticky on Opera is fully supported on 83-95, partially supported on 42-82, and not supported on 9.5-41 Opera versions.
CSS position:sticky on Safari on iOS is fully supported on 8.1-16.4, partially supported on 6-7, and not supported on 3.2-5 Safari on iOS versions.
CSS position:sticky on Android Browser is fully supported on 97-111, and not supported on 2.1-4 Android Browser versions.
CSS position:sticky on Opera Mobile is fully supported on 64-73, and not supported on 10-12 Opera Mobile versions.
CSS position:sticky on Chrome for Android is fully supported on all Chrome for Android versions.
CSS position:sticky on Firefox for Android is fully supported on all Firefox for Android versions.
CSS position:sticky on Samsung Internet is fully supported on 6.2-20, and not supported on 4-5 Samsung Internet versions.
Data sourced from
Overall Browser Compatibility Score
Note:CSS position:sticky shows a browser compatibility score of 92. This is a collective score out of 100 to represent browser support of a web technology. The higher this score is, the greater is the browser compatibility. The browser compatibility score is not a 100% reflection for every browser and the web technology support. However, it does give you an estimate on how much you should rely on a particular web technology in terms of browser compatibility.
Test on 3000+ browsers for CSS position:sticky & more
Test your website for CSS position:sticky and other web technologies. Get 100 FREE automation test minutes!
Test NowKaneAI - Testing Assistant
World’s first AI-Powered E2E testing agent.
Did you find this page helpful?