css-sticky.json 6.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331
  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":"Mozilla Developer Network (MDN) documentation - 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":"Chrome, Firefox and Safari 7 & below do not appear to support [sticky table headers](http://jsfiddle.net/Mf4YT/2/). (see also [Firefox bug](https://bugzilla.mozilla.org/show_bug.cgi?id=975644))"
  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":"y"
  59. },
  60. "firefox":{
  61. "2":"n",
  62. "3":"n",
  63. "3.5":"n",
  64. "3.6":"n",
  65. "4":"n",
  66. "5":"n",
  67. "6":"n",
  68. "7":"n",
  69. "8":"n",
  70. "9":"n",
  71. "10":"n",
  72. "11":"n",
  73. "12":"n",
  74. "13":"n",
  75. "14":"n",
  76. "15":"n",
  77. "16":"n",
  78. "17":"n",
  79. "18":"n",
  80. "19":"n",
  81. "20":"n",
  82. "21":"n",
  83. "22":"n",
  84. "23":"n",
  85. "24":"n",
  86. "25":"n",
  87. "26":"n d #1",
  88. "27":"n d #1",
  89. "28":"n d #1",
  90. "29":"n d #1",
  91. "30":"n d #1",
  92. "31":"n d #1",
  93. "32":"a #3",
  94. "33":"a #3",
  95. "34":"a #3",
  96. "35":"a #3",
  97. "36":"a #3",
  98. "37":"a #3",
  99. "38":"a #3",
  100. "39":"a #3",
  101. "40":"a #3",
  102. "41":"a #3",
  103. "42":"a #3",
  104. "43":"a #3",
  105. "44":"a #3",
  106. "45":"a #3",
  107. "46":"a #3",
  108. "47":"a #3",
  109. "48":"a #3",
  110. "49":"a #3",
  111. "50":"a #3",
  112. "51":"a #3",
  113. "52":"a #3",
  114. "53":"a #3",
  115. "54":"a #3",
  116. "55":"a #3",
  117. "56":"a #3",
  118. "57":"a #3"
  119. },
  120. "chrome":{
  121. "4":"n",
  122. "5":"n",
  123. "6":"n",
  124. "7":"n",
  125. "8":"n",
  126. "9":"n",
  127. "10":"n",
  128. "11":"n",
  129. "12":"n",
  130. "13":"n",
  131. "14":"n",
  132. "15":"n",
  133. "16":"n",
  134. "17":"n",
  135. "18":"n",
  136. "19":"n",
  137. "20":"n",
  138. "21":"n",
  139. "22":"n",
  140. "23":"n d #2",
  141. "24":"n d #2",
  142. "25":"n d #2",
  143. "26":"n d #2",
  144. "27":"n d #2",
  145. "28":"n d #2",
  146. "29":"n d #2",
  147. "30":"n d #2",
  148. "31":"n d #2",
  149. "32":"n d #2",
  150. "33":"n d #2",
  151. "34":"n d #2",
  152. "35":"n d #2",
  153. "36":"n d #2",
  154. "37":"n",
  155. "38":"n",
  156. "39":"n",
  157. "40":"n",
  158. "41":"n",
  159. "42":"n",
  160. "43":"n",
  161. "44":"n",
  162. "45":"n",
  163. "46":"n",
  164. "47":"n",
  165. "48":"n",
  166. "49":"n",
  167. "50":"n",
  168. "51":"n",
  169. "52":"n d #2",
  170. "53":"n d #2",
  171. "54":"n d #2",
  172. "55":"n d #2",
  173. "56":"a #4",
  174. "57":"a #4",
  175. "58":"a #4",
  176. "59":"a #4",
  177. "60":"a #4",
  178. "61":"a #4",
  179. "62":"a #4",
  180. "63":"a #4"
  181. },
  182. "safari":{
  183. "3.1":"n",
  184. "3.2":"n",
  185. "4":"n",
  186. "5":"n",
  187. "5.1":"n",
  188. "6":"n",
  189. "6.1":"a x #5",
  190. "7":"a x #5",
  191. "7.1":"y x",
  192. "8":"y x",
  193. "9":"y x",
  194. "9.1":"y x",
  195. "10":"y x",
  196. "10.1":"y x",
  197. "11":"y x",
  198. "TP":"y x"
  199. },
  200. "opera":{
  201. "9":"n",
  202. "9.5-9.6":"n",
  203. "10.0-10.1":"n",
  204. "10.5":"n",
  205. "10.6":"n",
  206. "11":"n",
  207. "11.1":"n",
  208. "11.5":"n",
  209. "11.6":"n",
  210. "12":"n",
  211. "12.1":"n",
  212. "15":"n",
  213. "16":"n",
  214. "17":"n",
  215. "18":"n",
  216. "19":"n",
  217. "20":"n",
  218. "21":"n",
  219. "22":"n",
  220. "23":"n",
  221. "24":"n",
  222. "25":"n",
  223. "26":"n",
  224. "27":"n",
  225. "28":"n",
  226. "29":"n",
  227. "30":"n",
  228. "31":"n",
  229. "32":"n",
  230. "33":"n",
  231. "34":"n",
  232. "35":"n",
  233. "36":"n",
  234. "37":"n",
  235. "38":"n",
  236. "39":"n d #2",
  237. "40":"n d #2",
  238. "41":"n d #2",
  239. "42":"a #4",
  240. "43":"a #4",
  241. "44":"a #4",
  242. "45":"a #4",
  243. "46":"a #4",
  244. "47":"a #4",
  245. "48":"a #4"
  246. },
  247. "ios_saf":{
  248. "3.2":"n",
  249. "4.0-4.1":"n",
  250. "4.2-4.3":"n",
  251. "5.0-5.1":"n",
  252. "6.0-6.1":"a x #5",
  253. "7.0-7.1":"a x #5",
  254. "8":"y x",
  255. "8.1-8.4":"y x",
  256. "9.0-9.2":"y x",
  257. "9.3":"y x",
  258. "10.0-10.2":"y x",
  259. "10.3":"y x",
  260. "11":"y x"
  261. },
  262. "op_mini":{
  263. "all":"n"
  264. },
  265. "android":{
  266. "2.1":"n",
  267. "2.2":"n",
  268. "2.3":"n",
  269. "3":"n",
  270. "4":"n",
  271. "4.1":"n",
  272. "4.2-4.3":"n",
  273. "4.4":"n",
  274. "4.4.3-4.4.4":"n",
  275. "56":"a #4"
  276. },
  277. "bb":{
  278. "7":"n",
  279. "10":"n"
  280. },
  281. "op_mob":{
  282. "10":"n",
  283. "11":"n",
  284. "11.1":"n",
  285. "11.5":"n",
  286. "12":"n",
  287. "12.1":"n",
  288. "37":"n"
  289. },
  290. "and_chr":{
  291. "59":"a #4"
  292. },
  293. "and_ff":{
  294. "54":"a #3"
  295. },
  296. "ie_mob":{
  297. "10":"n",
  298. "11":"n"
  299. },
  300. "and_uc":{
  301. "11.4":"n"
  302. },
  303. "samsung":{
  304. "4":"n",
  305. "5":"n"
  306. },
  307. "and_qq":{
  308. "1.2":"n d #2"
  309. },
  310. "baidu":{
  311. "7.12":"n"
  312. }
  313. },
  314. "notes":"",
  315. "notes_by_num":{
  316. "1":"Can be enabled in Firefox by setting the about:config preference layout.css.sticky.enabled to true",
  317. "2":"Enabled through the \"experimental Web Platform features\" flag",
  318. "3":"Not supported on any `table` parts - See [Firefox bug](https://bugzilla.mozilla.org/show_bug.cgi?id=975644)",
  319. "4":"Supported on `th` elements, but not `thead` or `tr` - See [Chrome bug](https://crbug.com/417223)"
  320. },
  321. "usage_perc_y":11.96,
  322. "usage_perc_a":58.56,
  323. "ucprefix":false,
  324. "parent":"",
  325. "keywords":"",
  326. "ie_id":"positionsticky",
  327. "chrome_id":"6190250464378880",
  328. "firefox_id":"",
  329. "webkit_id":"feature-position:-sticky",
  330. "shown":true
  331. }