Нема описа

background-attachment.json 6.4KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330
  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. },
  44. "firefox":{
  45. "2":"a #1",
  46. "3":"a #1",
  47. "3.5":"a #1",
  48. "3.6":"a #1",
  49. "4":"a #1",
  50. "5":"a #1",
  51. "6":"a #1",
  52. "7":"a #1",
  53. "8":"a #1",
  54. "9":"a #1",
  55. "10":"a #1",
  56. "11":"a #1",
  57. "12":"a #1",
  58. "13":"a #1",
  59. "14":"a #1",
  60. "15":"a #1",
  61. "16":"a #1",
  62. "17":"a #1",
  63. "18":"a #1",
  64. "19":"a #1",
  65. "20":"a #1",
  66. "21":"a #1",
  67. "22":"a #1",
  68. "23":"a #1",
  69. "24":"a #1",
  70. "25":"y",
  71. "26":"y",
  72. "27":"y",
  73. "28":"y",
  74. "29":"y",
  75. "30":"y",
  76. "31":"y",
  77. "32":"y",
  78. "33":"y",
  79. "34":"y",
  80. "35":"y",
  81. "36":"y",
  82. "37":"y",
  83. "38":"y",
  84. "39":"y",
  85. "40":"y",
  86. "41":"y",
  87. "42":"y",
  88. "43":"y",
  89. "44":"y",
  90. "45":"y",
  91. "46":"y",
  92. "47":"y",
  93. "48":"y",
  94. "49":"y",
  95. "50":"y",
  96. "51":"y",
  97. "52":"y",
  98. "53":"y",
  99. "54":"y",
  100. "55":"y",
  101. "56":"y",
  102. "57":"y",
  103. "58":"y",
  104. "59":"y",
  105. "60":"y",
  106. "61":"y"
  107. },
  108. "chrome":{
  109. "4":"y",
  110. "5":"y",
  111. "6":"y",
  112. "7":"y",
  113. "8":"y",
  114. "9":"y",
  115. "10":"y",
  116. "11":"y",
  117. "12":"y",
  118. "13":"y",
  119. "14":"y",
  120. "15":"y",
  121. "16":"y",
  122. "17":"y",
  123. "18":"y",
  124. "19":"y",
  125. "20":"y",
  126. "21":"y",
  127. "22":"y",
  128. "23":"y",
  129. "24":"y",
  130. "25":"y",
  131. "26":"y",
  132. "27":"y",
  133. "28":"y",
  134. "29":"y",
  135. "30":"y",
  136. "31":"y",
  137. "32":"y",
  138. "33":"y",
  139. "34":"y",
  140. "35":"y",
  141. "36":"y",
  142. "37":"y",
  143. "38":"y",
  144. "39":"y",
  145. "40":"y",
  146. "41":"y",
  147. "42":"y",
  148. "43":"y",
  149. "44":"y",
  150. "45":"y",
  151. "46":"y",
  152. "47":"y",
  153. "48":"y",
  154. "49":"y",
  155. "50":"y",
  156. "51":"y",
  157. "52":"y",
  158. "53":"y",
  159. "54":"y",
  160. "55":"y",
  161. "56":"y",
  162. "57":"y",
  163. "58":"y",
  164. "59":"y",
  165. "60":"y",
  166. "61":"y",
  167. "62":"y",
  168. "63":"y",
  169. "64":"y",
  170. "65":"y",
  171. "66":"y",
  172. "67":"y"
  173. },
  174. "safari":{
  175. "3.1":"a #1",
  176. "3.2":"a #1",
  177. "4":"a #1",
  178. "5":"y",
  179. "5.1":"y",
  180. "6":"y",
  181. "6.1":"y",
  182. "7":"y",
  183. "7.1":"y",
  184. "8":"y",
  185. "9":"y",
  186. "9.1":"y",
  187. "10":"y",
  188. "10.1":"y",
  189. "11":"y",
  190. "11.1":"y",
  191. "TP":"y"
  192. },
  193. "opera":{
  194. "9":"a #1",
  195. "9.5-9.6":"a #1",
  196. "10.0-10.1":"a #1",
  197. "10.5":"y",
  198. "10.6":"y",
  199. "11":"y",
  200. "11.1":"y",
  201. "11.5":"y",
  202. "11.6":"y",
  203. "12":"y",
  204. "12.1":"y",
  205. "15":"y",
  206. "16":"y",
  207. "17":"y",
  208. "18":"y",
  209. "19":"y",
  210. "20":"y",
  211. "21":"y",
  212. "22":"y",
  213. "23":"y",
  214. "24":"y",
  215. "25":"y",
  216. "26":"y",
  217. "27":"y",
  218. "28":"y",
  219. "29":"y",
  220. "30":"y",
  221. "31":"y",
  222. "32":"y",
  223. "33":"y",
  224. "34":"y",
  225. "35":"y",
  226. "36":"y",
  227. "37":"y",
  228. "38":"y",
  229. "39":"y",
  230. "40":"y",
  231. "41":"y",
  232. "42":"y",
  233. "43":"y",
  234. "44":"y",
  235. "45":"y",
  236. "46":"y",
  237. "47":"y",
  238. "48":"y",
  239. "49":"y",
  240. "50":"y",
  241. "51":"y",
  242. "52":"y"
  243. },
  244. "ios_saf":{
  245. "3.2":"n",
  246. "4.0-4.1":"n",
  247. "4.2-4.3":"n",
  248. "5.0-5.1":"a #2 #3",
  249. "6.0-6.1":"a #2 #3",
  250. "7.0-7.1":"a #2 #3",
  251. "8":"a #2 #3",
  252. "8.1-8.4":"a #2 #3",
  253. "9.0-9.2":"a #2 #3",
  254. "9.3":"a #2 #3",
  255. "10.0-10.2":"a #2 #3",
  256. "10.3":"a #2 #3",
  257. "11.0-11.2":"a #2 #3",
  258. "11.3":"a #2 #3"
  259. },
  260. "op_mini":{
  261. "all":"n"
  262. },
  263. "android":{
  264. "2.1":"n",
  265. "2.2":"n",
  266. "2.3":"n",
  267. "3":"n",
  268. "4":"n",
  269. "4.1":"a #1",
  270. "4.2-4.3":"a #1",
  271. "4.4":"n",
  272. "4.4.3-4.4.4":"n",
  273. "62":"n"
  274. },
  275. "bb":{
  276. "7":"a #2",
  277. "10":"a #2"
  278. },
  279. "op_mob":{
  280. "10":"a #1",
  281. "11":"y",
  282. "11.1":"y",
  283. "11.5":"y",
  284. "12":"y",
  285. "12.1":"y",
  286. "37":"y"
  287. },
  288. "and_chr":{
  289. "64":"y"
  290. },
  291. "and_ff":{
  292. "57":"y"
  293. },
  294. "ie_mob":{
  295. "10":"y",
  296. "11":"y"
  297. },
  298. "and_uc":{
  299. "11.8":"y"
  300. },
  301. "samsung":{
  302. "4":"n",
  303. "5":"a #4",
  304. "6.2":"a #4"
  305. },
  306. "and_qq":{
  307. "1.2":"y"
  308. },
  309. "baidu":{
  310. "7.12":"a #4"
  311. }
  312. },
  313. "notes":"Most mobile devices have a delay in updating the background position after scrolling a page with `fixed` backgrounds.",
  314. "notes_by_num":{
  315. "1":"Partial support refers to supporting `fixed` but not `local`",
  316. "2":"Partial support refers to supporting `local` but not `fixed`",
  317. "3":"Only supports `local` when `-webkit-overflow-scrolling: touch` is _not_ used",
  318. "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."
  319. },
  320. "usage_perc_y":80.2,
  321. "usage_perc_a":12.94,
  322. "ucprefix":false,
  323. "parent":"",
  324. "keywords":"",
  325. "ie_id":"",
  326. "chrome_id":"",
  327. "firefox_id":"",
  328. "webkit_id":"",
  329. "shown":true
  330. }