説明なし

object-fit.json 6.0KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332
  1. {
  2. "title":"CSS3 object-fit/object-position",
  3. "description":"Method of specifying how an object (image or video) should fit inside its box. object-fit options include \"contain\" (fit according to aspect ratio), \"fill\" (stretches object to fill) and \"cover\" (overflows box but maintains ratio), where object-position allows the object to be repositioned like background-image does.",
  4. "spec":"https://www.w3.org/TR/css3-images/",
  5. "status":"cr",
  6. "links":[
  7. {
  8. "url":"https://dev.opera.com/articles/view/css3-object-fit-object-position/",
  9. "title":"Dev.Opera article"
  10. },
  11. {
  12. "url":"https://www.webplatform.org/docs/css/properties/object-fit",
  13. "title":"WebPlatform Docs"
  14. },
  15. {
  16. "url":"https://github.com/bfred-it/object-fit-images/",
  17. "title":"object-fit-images Polyfill for IE & Edge"
  18. },
  19. {
  20. "url":"https://developer.mozilla.org//docs/Web/CSS/object-fit",
  21. "title":"MDN"
  22. }
  23. ],
  24. "bugs":[
  25. ],
  26. "categories":[
  27. "CSS3"
  28. ],
  29. "stats":{
  30. "ie":{
  31. "5.5":"n",
  32. "6":"n",
  33. "7":"n",
  34. "8":"n",
  35. "9":"n",
  36. "10":"n",
  37. "11":"n"
  38. },
  39. "edge":{
  40. "12":"n",
  41. "13":"n",
  42. "14":"n",
  43. "15":"n",
  44. "16":"a #2",
  45. "17":"a #2"
  46. },
  47. "firefox":{
  48. "2":"n",
  49. "3":"n",
  50. "3.5":"n",
  51. "3.6":"n",
  52. "4":"n",
  53. "5":"n",
  54. "6":"n",
  55. "7":"n",
  56. "8":"n",
  57. "9":"n",
  58. "10":"n",
  59. "11":"n",
  60. "12":"n",
  61. "13":"n",
  62. "14":"n",
  63. "15":"n",
  64. "16":"n",
  65. "17":"n",
  66. "18":"n",
  67. "19":"n",
  68. "20":"n",
  69. "21":"n",
  70. "22":"n",
  71. "23":"n",
  72. "24":"n",
  73. "25":"n",
  74. "26":"n",
  75. "27":"n",
  76. "28":"n",
  77. "29":"n",
  78. "30":"n",
  79. "31":"n",
  80. "32":"n",
  81. "33":"n",
  82. "34":"n",
  83. "35":"n",
  84. "36":"y",
  85. "37":"y",
  86. "38":"y",
  87. "39":"y",
  88. "40":"y",
  89. "41":"y",
  90. "42":"y",
  91. "43":"y",
  92. "44":"y",
  93. "45":"y",
  94. "46":"y",
  95. "47":"y",
  96. "48":"y",
  97. "49":"y",
  98. "50":"y",
  99. "51":"y",
  100. "52":"y",
  101. "53":"y",
  102. "54":"y",
  103. "55":"y",
  104. "56":"y",
  105. "57":"y",
  106. "58":"y",
  107. "59":"y",
  108. "60":"y",
  109. "61":"y"
  110. },
  111. "chrome":{
  112. "4":"n",
  113. "5":"n",
  114. "6":"n",
  115. "7":"n",
  116. "8":"n",
  117. "9":"n",
  118. "10":"n",
  119. "11":"n",
  120. "12":"n",
  121. "13":"n",
  122. "14":"n",
  123. "15":"n",
  124. "16":"n",
  125. "17":"n",
  126. "18":"n",
  127. "19":"n",
  128. "20":"n",
  129. "21":"n",
  130. "22":"n",
  131. "23":"n",
  132. "24":"n",
  133. "25":"n",
  134. "26":"n",
  135. "27":"n",
  136. "28":"n",
  137. "29":"n",
  138. "30":"n",
  139. "31":"y",
  140. "32":"y",
  141. "33":"y",
  142. "34":"y",
  143. "35":"y",
  144. "36":"y",
  145. "37":"y",
  146. "38":"y",
  147. "39":"y",
  148. "40":"y",
  149. "41":"y",
  150. "42":"y",
  151. "43":"y",
  152. "44":"y",
  153. "45":"y",
  154. "46":"y",
  155. "47":"y",
  156. "48":"y",
  157. "49":"y",
  158. "50":"y",
  159. "51":"y",
  160. "52":"y",
  161. "53":"y",
  162. "54":"y",
  163. "55":"y",
  164. "56":"y",
  165. "57":"y",
  166. "58":"y",
  167. "59":"y",
  168. "60":"y",
  169. "61":"y",
  170. "62":"y",
  171. "63":"y",
  172. "64":"y",
  173. "65":"y",
  174. "66":"y",
  175. "67":"y"
  176. },
  177. "safari":{
  178. "3.1":"n",
  179. "3.2":"n",
  180. "4":"n",
  181. "5":"n",
  182. "5.1":"n",
  183. "6":"n",
  184. "6.1":"n",
  185. "7":"n",
  186. "7.1":"a #1",
  187. "8":"a #1",
  188. "9":"a #1",
  189. "9.1":"a #1",
  190. "10":"y",
  191. "10.1":"y",
  192. "11":"y",
  193. "11.1":"y",
  194. "TP":"y"
  195. },
  196. "opera":{
  197. "9":"n",
  198. "9.5-9.6":"n",
  199. "10.0-10.1":"n",
  200. "10.5":"n",
  201. "10.6":"y x",
  202. "11":"y x",
  203. "11.1":"y x",
  204. "11.5":"y x",
  205. "11.6":"y x",
  206. "12":"y x",
  207. "12.1":"y x",
  208. "15":"n",
  209. "16":"n",
  210. "17":"n",
  211. "18":"n",
  212. "19":"y",
  213. "20":"y",
  214. "21":"y",
  215. "22":"y",
  216. "23":"y",
  217. "24":"y",
  218. "25":"y",
  219. "26":"y",
  220. "27":"y",
  221. "28":"y",
  222. "29":"y",
  223. "30":"y",
  224. "31":"y",
  225. "32":"y",
  226. "33":"y",
  227. "34":"y",
  228. "35":"y",
  229. "36":"y",
  230. "37":"y",
  231. "38":"y",
  232. "39":"y",
  233. "40":"y",
  234. "41":"y",
  235. "42":"y",
  236. "43":"y",
  237. "44":"y",
  238. "45":"y",
  239. "46":"y",
  240. "47":"y",
  241. "48":"y",
  242. "49":"y",
  243. "50":"y",
  244. "51":"y",
  245. "52":"y"
  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":"n",
  253. "7.0-7.1":"n",
  254. "8":"a #1",
  255. "8.1-8.4":"a #1",
  256. "9.0-9.2":"a #1",
  257. "9.3":"a #1",
  258. "10.0-10.2":"y",
  259. "10.3":"y",
  260. "11.0-11.2":"y",
  261. "11.3":"y"
  262. },
  263. "op_mini":{
  264. "all":"y x"
  265. },
  266. "android":{
  267. "2.1":"n",
  268. "2.2":"n",
  269. "2.3":"n",
  270. "3":"n",
  271. "4":"n",
  272. "4.1":"n",
  273. "4.2-4.3":"n",
  274. "4.4":"n",
  275. "4.4.3-4.4.4":"y",
  276. "62":"y"
  277. },
  278. "bb":{
  279. "7":"n",
  280. "10":"n"
  281. },
  282. "op_mob":{
  283. "10":"n",
  284. "11":"y x",
  285. "11.1":"y x",
  286. "11.5":"y x",
  287. "12":"y x",
  288. "12.1":"y x",
  289. "37":"y"
  290. },
  291. "and_chr":{
  292. "64":"y"
  293. },
  294. "and_ff":{
  295. "57":"y"
  296. },
  297. "ie_mob":{
  298. "10":"n",
  299. "11":"n"
  300. },
  301. "and_uc":{
  302. "11.8":"y"
  303. },
  304. "samsung":{
  305. "4":"y",
  306. "5":"y",
  307. "6.2":"y"
  308. },
  309. "and_qq":{
  310. "1.2":"y"
  311. },
  312. "baidu":{
  313. "7.12":"y"
  314. }
  315. },
  316. "notes":"",
  317. "notes_by_num":{
  318. "1":"Partial support in Safari refers to support for `object-fit` but not `object-position`.",
  319. "2":"Partial support in Edge refers to `object-fit` only supporting `<img>` ([see this comment](https://developer.microsoft.com/en-us/microsoft-edge/platform/issues/13603873/#comment-0))"
  320. },
  321. "usage_perc_y":90.03,
  322. "usage_perc_a":2.15,
  323. "ucprefix":false,
  324. "parent":"",
  325. "keywords":"objectfit,objectposition",
  326. "ie_id":"objectfitandobjectposition",
  327. "chrome_id":"5302669702856704",
  328. "firefox_id":"",
  329. "webkit_id":"",
  330. "shown":true
  331. }