background-attachment.json 6.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334
  1. {
  2. "title":"CSS background-attachment",
  3. "description":"Method of defining how a background image is attached to a scrollable element. Values include `scroll` (default), `fixed` and `local`.",
  4. "spec":"https://www.w3.org/TR/css3-background/#the-background-attachment",
  5. "status":"cr",
  6. "links":[
  7. {
  8. "url":"https://developer.mozilla.org/en-US/docs/Web/CSS/background-attachment",
  9. "title":"MDN Web Docs - background-attachment"
  10. }
  11. ],
  12. "bugs":[
  13. {
  14. "description":"iOS has an issue preventing `background-attachment: fixed` from being used with `background-size: cover` - [see details](https://stackoverflow.com/questions/21476380/background-size-on-ios)"
  15. },
  16. {
  17. "description":"Chrome has an issue that occurs when using the will-change property on a selector which also has `background-attachment: fixed` defined. It causes the image to get cut off and gain whitespace around it. "
  18. },
  19. {
  20. "description":"Firefox does not appear to support the `local` value when applied on a `textarea` element."
  21. }
  22. ],
  23. "categories":[
  24. "CSS"
  25. ],
  26. "stats":{
  27. "ie":{
  28. "5.5":"a #1",
  29. "6":"a #1",
  30. "7":"a #1",
  31. "8":"a #1",
  32. "9":"y",
  33. "10":"y",
  34. "11":"y"
  35. },
  36. "edge":{
  37. "12":"y",
  38. "13":"y",
  39. "14":"y",
  40. "15":"y",
  41. "16":"y",
  42. "17":"y",
  43. "18":"y"
  44. },
  45. "firefox":{
  46. "2":"a #1",
  47. "3":"a #1",
  48. "3.5":"a #1",
  49. "3.6":"a #1",
  50. "4":"a #1",
  51. "5":"a #1",
  52. "6":"a #1",
  53. "7":"a #1",
  54. "8":"a #1",
  55. "9":"a #1",
  56. "10":"a #1",
  57. "11":"a #1",
  58. "12":"a #1",
  59. "13":"a #1",
  60. "14":"a #1",
  61. "15":"a #1",
  62. "16":"a #1",
  63. "17":"a #1",
  64. "18":"a #1",
  65. "19":"a #1",
  66. "20":"a #1",
  67. "21":"a #1",
  68. "22":"a #1",
  69. "23":"a #1",
  70. "24":"a #1",
  71. "25":"y",
  72. "26":"y",
  73. "27":"y",
  74. "28":"y",
  75. "29":"y",
  76. "30":"y",
  77. "31":"y",
  78. "32":"y",
  79. "33":"y",
  80. "34":"y",
  81. "35":"y",
  82. "36":"y",
  83. "37":"y",
  84. "38":"y",
  85. "39":"y",
  86. "40":"y",
  87. "41":"y",
  88. "42":"y",
  89. "43":"y",
  90. "44":"y",
  91. "45":"y",
  92. "46":"y",
  93. "47":"y",
  94. "48":"y",
  95. "49":"y",
  96. "50":"y",
  97. "51":"y",
  98. "52":"y",
  99. "53":"y",
  100. "54":"y",
  101. "55":"y",
  102. "56":"y",
  103. "57":"y",
  104. "58":"y",
  105. "59":"y",
  106. "60":"y",
  107. "61":"y",
  108. "62":"y"
  109. },
  110. "chrome":{
  111. "4":"y",
  112. "5":"y",
  113. "6":"y",
  114. "7":"y",
  115. "8":"y",
  116. "9":"y",
  117. "10":"y",
  118. "11":"y",
  119. "12":"y",
  120. "13":"y",
  121. "14":"y",
  122. "15":"y",
  123. "16":"y",
  124. "17":"y",
  125. "18":"y",
  126. "19":"y",
  127. "20":"y",
  128. "21":"y",
  129. "22":"y",
  130. "23":"y",
  131. "24":"y",
  132. "25":"y",
  133. "26":"y",
  134. "27":"y",
  135. "28":"y",
  136. "29":"y",
  137. "30":"y",
  138. "31":"y",
  139. "32":"y",
  140. "33":"y",
  141. "34":"y",
  142. "35":"y",
  143. "36":"y",
  144. "37":"y",
  145. "38":"y",
  146. "39":"y",
  147. "40":"y",
  148. "41":"y",
  149. "42":"y",
  150. "43":"y",
  151. "44":"y",
  152. "45":"y",
  153. "46":"y",
  154. "47":"y",
  155. "48":"y",
  156. "49":"y",
  157. "50":"y",
  158. "51":"y",
  159. "52":"y",
  160. "53":"y",
  161. "54":"y",
  162. "55":"y",
  163. "56":"y",
  164. "57":"y",
  165. "58":"y",
  166. "59":"y",
  167. "60":"y",
  168. "61":"y",
  169. "62":"y",
  170. "63":"y",
  171. "64":"y",
  172. "65":"y",
  173. "66":"y",
  174. "67":"y",
  175. "68":"y",
  176. "69":"y"
  177. },
  178. "safari":{
  179. "3.1":"a #1",
  180. "3.2":"a #1",
  181. "4":"a #1",
  182. "5":"y",
  183. "5.1":"y",
  184. "6":"y",
  185. "6.1":"y",
  186. "7":"y",
  187. "7.1":"y",
  188. "8":"y",
  189. "9":"y",
  190. "9.1":"y",
  191. "10":"y",
  192. "10.1":"y",
  193. "11":"y",
  194. "11.1":"y",
  195. "TP":"y"
  196. },
  197. "opera":{
  198. "9":"a #1",
  199. "9.5-9.6":"a #1",
  200. "10.0-10.1":"a #1",
  201. "10.5":"y",
  202. "10.6":"y",
  203. "11":"y",
  204. "11.1":"y",
  205. "11.5":"y",
  206. "11.6":"y",
  207. "12":"y",
  208. "12.1":"y",
  209. "15":"y",
  210. "16":"y",
  211. "17":"y",
  212. "18":"y",
  213. "19":"y",
  214. "20":"y",
  215. "21":"y",
  216. "22":"y",
  217. "23":"y",
  218. "24":"y",
  219. "25":"y",
  220. "26":"y",
  221. "27":"y",
  222. "28":"y",
  223. "29":"y",
  224. "30":"y",
  225. "31":"y",
  226. "32":"y",
  227. "33":"y",
  228. "34":"y",
  229. "35":"y",
  230. "36":"y",
  231. "37":"y",
  232. "38":"y",
  233. "39":"y",
  234. "40":"y",
  235. "41":"y",
  236. "42":"y",
  237. "43":"y",
  238. "44":"y",
  239. "45":"y",
  240. "46":"y",
  241. "47":"y",
  242. "48":"y",
  243. "49":"y",
  244. "50":"y",
  245. "51":"y",
  246. "52":"y"
  247. },
  248. "ios_saf":{
  249. "3.2":"n",
  250. "4.0-4.1":"n",
  251. "4.2-4.3":"n",
  252. "5.0-5.1":"a #2 #3",
  253. "6.0-6.1":"a #2 #3",
  254. "7.0-7.1":"a #2 #3",
  255. "8":"a #2 #3",
  256. "8.1-8.4":"a #2 #3",
  257. "9.0-9.2":"a #2 #3",
  258. "9.3":"a #2 #3",
  259. "10.0-10.2":"a #2 #3",
  260. "10.3":"a #2 #3",
  261. "11.0-11.2":"a #2 #3",
  262. "11.3":"a #2 #3"
  263. },
  264. "op_mini":{
  265. "all":"n"
  266. },
  267. "android":{
  268. "2.1":"n",
  269. "2.2":"n",
  270. "2.3":"n",
  271. "3":"n",
  272. "4":"n",
  273. "4.1":"a #1",
  274. "4.2-4.3":"a #1",
  275. "4.4":"n",
  276. "4.4.3-4.4.4":"n",
  277. "62":"n"
  278. },
  279. "bb":{
  280. "7":"a #2",
  281. "10":"a #2"
  282. },
  283. "op_mob":{
  284. "10":"a #1",
  285. "11":"y",
  286. "11.1":"y",
  287. "11.5":"y",
  288. "12":"y",
  289. "12.1":"y",
  290. "37":"y"
  291. },
  292. "and_chr":{
  293. "66":"y"
  294. },
  295. "and_ff":{
  296. "57":"y"
  297. },
  298. "ie_mob":{
  299. "10":"y",
  300. "11":"y"
  301. },
  302. "and_uc":{
  303. "11.8":"y"
  304. },
  305. "samsung":{
  306. "4":"n",
  307. "5":"a #4",
  308. "6.2":"a #4"
  309. },
  310. "and_qq":{
  311. "1.2":"y"
  312. },
  313. "baidu":{
  314. "7.12":"a #4"
  315. }
  316. },
  317. "notes":"Most mobile devices have a delay in updating the background position after scrolling a page with `fixed` backgrounds.",
  318. "notes_by_num":{
  319. "1":"Partial support refers to supporting `fixed` but not `local`",
  320. "2":"Partial support refers to supporting `local` but not `fixed`",
  321. "3":"Only supports `local` when `-webkit-overflow-scrolling: touch` is _not_ used",
  322. "4":"Does not support `fixed`, and due [to a bug](https://bugs.chromium.org/p/chromium/issues/detail?id=627037) only supports `local` if a `border-radius` is set on the element."
  323. },
  324. "usage_perc_y":80.79,
  325. "usage_perc_a":12.24,
  326. "ucprefix":false,
  327. "parent":"",
  328. "keywords":"",
  329. "ie_id":"",
  330. "chrome_id":"",
  331. "firefox_id":"",
  332. "webkit_id":"",
  333. "shown":true
  334. }