Brak opisu

css-sticky.json 6.8KB

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