説明なし

css-media-resolution.json 6.4KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332
  1. {
  2. "title":"Media Queries: resolution feature",
  3. "description":"Allows a media query to be set based on the device pixels used per CSS unit. While the standard uses `min`/`max-resolution` for this, some browsers support the older non-standard `device-pixel-ratio` media query.",
  4. "spec":"https://www.w3.org/TR/css3-mediaqueries/#resolution",
  5. "status":"rec",
  6. "links":[
  7. {
  8. "url":"https://www.w3.org/blog/CSS/2012/06/14/unprefix-webkit-device-pixel-ratio/",
  9. "title":"How to unprefix -webkit-device-pixel-ratio"
  10. },
  11. {
  12. "url":"https://bugs.webkit.org/show_bug.cgi?id=78087",
  13. "title":"WebKit Bug 78087: Implement the 'resolution' media query"
  14. },
  15. {
  16. "url":"https://compat.spec.whatwg.org/#css-media-queries-webkit-device-pixel-ratio",
  17. "title":"WHATWG Compatibility Standard: -webkit-device-pixel-ratio"
  18. }
  19. ],
  20. "bugs":[
  21. {
  22. "description":"Microsoft Edge has a bug where `min-resolution` less than `1dpcm` [is ignored](https://jsfiddle.net/behmjd5t/)."
  23. }
  24. ],
  25. "categories":[
  26. "CSS",
  27. "CSS3"
  28. ],
  29. "stats":{
  30. "ie":{
  31. "5.5":"n",
  32. "6":"n",
  33. "7":"n",
  34. "8":"n",
  35. "9":"a #1",
  36. "10":"a #1",
  37. "11":"a #1"
  38. },
  39. "edge":{
  40. "12":"y",
  41. "13":"y",
  42. "14":"y",
  43. "15":"y",
  44. "16":"y",
  45. "17":"y"
  46. },
  47. "firefox":{
  48. "2":"n",
  49. "3":"n",
  50. "3.5":"a #2",
  51. "3.6":"a #2",
  52. "4":"a #2",
  53. "5":"a #2",
  54. "6":"a #2",
  55. "7":"a #2",
  56. "8":"a #2",
  57. "9":"a #2",
  58. "10":"a #2",
  59. "11":"a #2",
  60. "12":"a #2",
  61. "13":"a #2",
  62. "14":"a #2",
  63. "15":"a #2",
  64. "16":"y",
  65. "17":"y",
  66. "18":"y",
  67. "19":"y",
  68. "20":"y",
  69. "21":"y",
  70. "22":"y",
  71. "23":"y",
  72. "24":"y",
  73. "25":"y",
  74. "26":"y",
  75. "27":"y",
  76. "28":"y",
  77. "29":"y",
  78. "30":"y",
  79. "31":"y",
  80. "32":"y",
  81. "33":"y",
  82. "34":"y",
  83. "35":"y",
  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":"a x #3",
  113. "5":"a x #3",
  114. "6":"a x #3",
  115. "7":"a x #3",
  116. "8":"a x #3",
  117. "9":"a x #3",
  118. "10":"a x #3",
  119. "11":"a x #3",
  120. "12":"a x #3",
  121. "13":"a x #3",
  122. "14":"a x #3",
  123. "15":"a x #3",
  124. "16":"a x #3",
  125. "17":"a x #3",
  126. "18":"a x #3",
  127. "19":"a x #3",
  128. "20":"a x #3",
  129. "21":"a x #3",
  130. "22":"a x #3",
  131. "23":"a x #3",
  132. "24":"a x #3",
  133. "25":"a x #3",
  134. "26":"a x #3",
  135. "27":"a x #3",
  136. "28":"a x #3",
  137. "29":"y",
  138. "30":"y",
  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":"a x #3",
  181. "5":"a x #3",
  182. "5.1":"a x #3",
  183. "6":"a x #3",
  184. "6.1":"a x #3",
  185. "7":"a x #3",
  186. "7.1":"a x #3",
  187. "8":"a x #3",
  188. "9":"a x #3",
  189. "9.1":"a x #3",
  190. "10":"a x #3",
  191. "10.1":"a x #3",
  192. "11":"a x #3",
  193. "11.1":"a x #3",
  194. "TP":"a x #3"
  195. },
  196. "opera":{
  197. "9":"n",
  198. "9.5-9.6":"a x #3",
  199. "10.0-10.1":"a x #3",
  200. "10.5":"a x #3",
  201. "10.6":"a x #3",
  202. "11":"a x #3",
  203. "11.1":"a x #3",
  204. "11.5":"a x #3",
  205. "11.6":"a x #3",
  206. "12":"a x #3",
  207. "12.1":"y",
  208. "15":"y",
  209. "16":"y",
  210. "17":"y",
  211. "18":"y",
  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":"u",
  249. "4.0-4.1":"a x #3",
  250. "4.2-4.3":"a x #3",
  251. "5.0-5.1":"a x #3",
  252. "6.0-6.1":"a x #3",
  253. "7.0-7.1":"a x #3",
  254. "8":"a x #3",
  255. "8.1-8.4":"a x #3",
  256. "9.0-9.2":"a x #3",
  257. "9.3":"a x #3",
  258. "10.0-10.2":"a x #3",
  259. "10.3":"a x #3",
  260. "11.0-11.2":"a x #3",
  261. "11.3":"a x #3"
  262. },
  263. "op_mini":{
  264. "all":"a #1"
  265. },
  266. "android":{
  267. "2.1":"u",
  268. "2.2":"u",
  269. "2.3":"a x #3",
  270. "3":"a x #3",
  271. "4":"a x #3",
  272. "4.1":"a x #3",
  273. "4.2-4.3":"a x #3",
  274. "4.4":"y",
  275. "4.4.3-4.4.4":"y",
  276. "62":"y"
  277. },
  278. "bb":{
  279. "7":"a x #3",
  280. "10":"a x #3"
  281. },
  282. "op_mob":{
  283. "10":"a x #3",
  284. "11":"a x #3",
  285. "11.1":"a x #3",
  286. "11.5":"a x #3",
  287. "12":"a x #3",
  288. "12.1":"y",
  289. "37":"y"
  290. },
  291. "and_chr":{
  292. "64":"y"
  293. },
  294. "and_ff":{
  295. "57":"y"
  296. },
  297. "ie_mob":{
  298. "10":"a #1",
  299. "11":"a #1"
  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":"Supports the `dpi` unit, but does not support `dppx` or `dpcm` units.",
  319. "2":"Firefox before 16 supports only `dpi` unit, but you can set `2dppx` per `min--moz-device-pixel-ratio: 2`",
  320. "3":"Supports the non-standard `min`/`max-device-pixel-ratio`"
  321. },
  322. "usage_perc_y":78.29,
  323. "usage_perc_a":19.67,
  324. "ucprefix":false,
  325. "parent":"css-mediaqueries",
  326. "keywords":"@media,device-pixel-ratio,resolution,dppx,dpcm,dpi",
  327. "ie_id":"mediaqueriesresolutionfeature,dppxunitfortheresolutionmediaquery",
  328. "chrome_id":"5944509615570944",
  329. "firefox_id":"",
  330. "webkit_id":"",
  331. "shown":true
  332. }