css-sticky.json 7.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353
  1. {
  2. "title":"CSS position:sticky",
  3. "description":"Keeps elements positioned as \"fixed\" or \"relative\" depending on how it appears in the viewport. As a result the element is \"stuck\" when necessary while scrolling.",
  4. "spec":"https://drafts.csswg.org/css-position/#sticky-pos",
  5. "status":"wd",
  6. "links":[
  7. {
  8. "url":"http://updates.html5rocks.com/2012/08/Stick-your-landings-position-sticky-lands-in-WebKit",
  9. "title":"HTML5Rocks"
  10. },
  11. {
  12. "url":"https://developer.mozilla.org/en-US/docs/Web/CSS/position",
  13. "title":"MDN Web Docs - CSS position"
  14. },
  15. {
  16. "url":"https://www.webplatform.org/docs/css/properties/position",
  17. "title":"WebPlatform Docs"
  18. },
  19. {
  20. "url":"https://github.com/dollarshaveclub/stickybits",
  21. "title":"Polyfill"
  22. },
  23. {
  24. "url":"https://github.com/wilddeer/stickyfill",
  25. "title":"Another polyfill"
  26. },
  27. {
  28. "url":"http://gedd.ski/post/position-sticky/",
  29. "title":"geddski article: Examples and Gotchas"
  30. }
  31. ],
  32. "bugs":[
  33. {
  34. "description":"Firefox 58 & below, Chrome 63 & below and Safari 7 & below do not appear to support [sticky table headers](https://jsfiddle.net/Mf4YT/2/)."
  35. },
  36. {
  37. "description":"A parent with overflow set to `auto` will prevent `position: sticky` from working in Safari"
  38. }
  39. ],
  40. "categories":[
  41. "CSS"
  42. ],
  43. "stats":{
  44. "ie":{
  45. "5.5":"n",
  46. "6":"n",
  47. "7":"n",
  48. "8":"n",
  49. "9":"n",
  50. "10":"n",
  51. "11":"n"
  52. },
  53. "edge":{
  54. "12":"n",
  55. "13":"n",
  56. "14":"n",
  57. "15":"n",
  58. "16":"a #6",
  59. "17":"a #6",
  60. "18":"a #6"
  61. },
  62. "firefox":{
  63. "2":"n",
  64. "3":"n",
  65. "3.5":"n",
  66. "3.6":"n",
  67. "4":"n",
  68. "5":"n",
  69. "6":"n",
  70. "7":"n",
  71. "8":"n",
  72. "9":"n",
  73. "10":"n",
  74. "11":"n",
  75. "12":"n",
  76. "13":"n",
  77. "14":"n",
  78. "15":"n",
  79. "16":"n",
  80. "17":"n",
  81. "18":"n",
  82. "19":"n",
  83. "20":"n",
  84. "21":"n",
  85. "22":"n",
  86. "23":"n",
  87. "24":"n",
  88. "25":"n",
  89. "26":"n d #1",
  90. "27":"n d #1",
  91. "28":"n d #1",
  92. "29":"n d #1",
  93. "30":"n d #1",
  94. "31":"n d #1",
  95. "32":"a #3",
  96. "33":"a #3",
  97. "34":"a #3",
  98. "35":"a #3",
  99. "36":"a #3",
  100. "37":"a #3",
  101. "38":"a #3",
  102. "39":"a #3",
  103. "40":"a #3",
  104. "41":"a #3",
  105. "42":"a #3",
  106. "43":"a #3",
  107. "44":"a #3",
  108. "45":"a #3",
  109. "46":"a #3",
  110. "47":"a #3",
  111. "48":"a #3",
  112. "49":"a #3",
  113. "50":"a #3",
  114. "51":"a #3",
  115. "52":"a #3",
  116. "53":"a #3",
  117. "54":"a #3",
  118. "55":"a #3",
  119. "56":"a #3",
  120. "57":"a #3",
  121. "58":"a #3",
  122. "59":"y",
  123. "60":"y",
  124. "61":"y",
  125. "62":"y"
  126. },
  127. "chrome":{
  128. "4":"n",
  129. "5":"n",
  130. "6":"n",
  131. "7":"n",
  132. "8":"n",
  133. "9":"n",
  134. "10":"n",
  135. "11":"n",
  136. "12":"n",
  137. "13":"n",
  138. "14":"n",
  139. "15":"n",
  140. "16":"n",
  141. "17":"n",
  142. "18":"n",
  143. "19":"n",
  144. "20":"n",
  145. "21":"n",
  146. "22":"n",
  147. "23":"n d #2",
  148. "24":"n d #2",
  149. "25":"n d #2",
  150. "26":"n d #2",
  151. "27":"n d #2",
  152. "28":"n d #2",
  153. "29":"n d #2",
  154. "30":"n d #2",
  155. "31":"n d #2",
  156. "32":"n d #2",
  157. "33":"n d #2",
  158. "34":"n d #2",
  159. "35":"n d #2",
  160. "36":"n d #2",
  161. "37":"n",
  162. "38":"n",
  163. "39":"n",
  164. "40":"n",
  165. "41":"n",
  166. "42":"n",
  167. "43":"n",
  168. "44":"n",
  169. "45":"n",
  170. "46":"n",
  171. "47":"n",
  172. "48":"n",
  173. "49":"n",
  174. "50":"n",
  175. "51":"n",
  176. "52":"n d #2",
  177. "53":"n d #2",
  178. "54":"n d #2",
  179. "55":"n d #2",
  180. "56":"a #4",
  181. "57":"a #4",
  182. "58":"a #4",
  183. "59":"a #4",
  184. "60":"a #4",
  185. "61":"a #4",
  186. "62":"a #4",
  187. "63":"a #4",
  188. "64":"a #4",
  189. "65":"a #4",
  190. "66":"a #4",
  191. "67":"a #4",
  192. "68":"a #4",
  193. "69":"a #4"
  194. },
  195. "safari":{
  196. "3.1":"n",
  197. "3.2":"n",
  198. "4":"n",
  199. "5":"n",
  200. "5.1":"n",
  201. "6":"n",
  202. "6.1":"a x #5",
  203. "7":"a x #5",
  204. "7.1":"y x",
  205. "8":"y x",
  206. "9":"y x",
  207. "9.1":"y x",
  208. "10":"y x",
  209. "10.1":"y x",
  210. "11":"y x",
  211. "11.1":"y x",
  212. "TP":"y x"
  213. },
  214. "opera":{
  215. "9":"n",
  216. "9.5-9.6":"n",
  217. "10.0-10.1":"n",
  218. "10.5":"n",
  219. "10.6":"n",
  220. "11":"n",
  221. "11.1":"n",
  222. "11.5":"n",
  223. "11.6":"n",
  224. "12":"n",
  225. "12.1":"n",
  226. "15":"n",
  227. "16":"n",
  228. "17":"n",
  229. "18":"n",
  230. "19":"n",
  231. "20":"n",
  232. "21":"n",
  233. "22":"n",
  234. "23":"n",
  235. "24":"n",
  236. "25":"n",
  237. "26":"n",
  238. "27":"n",
  239. "28":"n",
  240. "29":"n",
  241. "30":"n",
  242. "31":"n",
  243. "32":"n",
  244. "33":"n",
  245. "34":"n",
  246. "35":"n",
  247. "36":"n",
  248. "37":"n",
  249. "38":"n",
  250. "39":"n d #2",
  251. "40":"n d #2",
  252. "41":"n d #2",
  253. "42":"a #4",
  254. "43":"a #4",
  255. "44":"a #4",
  256. "45":"a #4",
  257. "46":"a #4",
  258. "47":"a #4",
  259. "48":"a #4",
  260. "49":"a #4",
  261. "50":"a #4",
  262. "51":"a #4",
  263. "52":"a #4"
  264. },
  265. "ios_saf":{
  266. "3.2":"n",
  267. "4.0-4.1":"n",
  268. "4.2-4.3":"n",
  269. "5.0-5.1":"n",
  270. "6.0-6.1":"a x #5",
  271. "7.0-7.1":"a x #5",
  272. "8":"y x",
  273. "8.1-8.4":"y x",
  274. "9.0-9.2":"y x",
  275. "9.3":"y x",
  276. "10.0-10.2":"y x",
  277. "10.3":"y x",
  278. "11.0-11.2":"y x",
  279. "11.3":"y x"
  280. },
  281. "op_mini":{
  282. "all":"n"
  283. },
  284. "android":{
  285. "2.1":"n",
  286. "2.2":"n",
  287. "2.3":"n",
  288. "3":"n",
  289. "4":"n",
  290. "4.1":"n",
  291. "4.2-4.3":"n",
  292. "4.4":"n",
  293. "4.4.3-4.4.4":"n",
  294. "62":"a #4"
  295. },
  296. "bb":{
  297. "7":"n",
  298. "10":"n"
  299. },
  300. "op_mob":{
  301. "10":"n",
  302. "11":"n",
  303. "11.1":"n",
  304. "11.5":"n",
  305. "12":"n",
  306. "12.1":"n",
  307. "37":"n"
  308. },
  309. "and_chr":{
  310. "66":"a #4"
  311. },
  312. "and_ff":{
  313. "57":"a #3"
  314. },
  315. "ie_mob":{
  316. "10":"n",
  317. "11":"n"
  318. },
  319. "and_uc":{
  320. "11.8":"a #4"
  321. },
  322. "samsung":{
  323. "4":"n",
  324. "5":"n",
  325. "6.2":"y"
  326. },
  327. "and_qq":{
  328. "1.2":"n d #2"
  329. },
  330. "baidu":{
  331. "7.12":"n"
  332. }
  333. },
  334. "notes":"",
  335. "notes_by_num":{
  336. "1":"Can be enabled in Firefox by setting the about:config preference layout.css.sticky.enabled to true",
  337. "2":"Enabled through the \"experimental Web Platform features\" flag",
  338. "3":"Not supported on any `table` parts - See [Firefox bug](https://bugzilla.mozilla.org/show_bug.cgi?id=975644)",
  339. "4":"Supported on `th` elements, but not `thead` or `tr` - See [Chrome bug](https://bugs.chromium.org/p/chromium/issues/detail?id=702927)",
  340. "5":"Do not appear to support sticky table headers",
  341. "6":"Supported on `th` elements, but not `thead` or `tr` - See [Edge bug](https://developer.microsoft.com/en-us/microsoft-edge/platform/issues/16765952/)"
  342. },
  343. "usage_perc_y":17.16,
  344. "usage_perc_a":68.74,
  345. "ucprefix":false,
  346. "parent":"",
  347. "keywords":"",
  348. "ie_id":"positionsticky",
  349. "chrome_id":"6190250464378880",
  350. "firefox_id":"",
  351. "webkit_id":"feature-position:-sticky",
  352. "shown":true
  353. }