暫無描述

flexbox.json 9.8KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384
  1. {
  2. "title":"CSS Flexible Box Layout Module",
  3. "description":"Method of positioning elements in horizontal or vertical stacks. Support includes all properties prefixed with `flex`, as well as `display: flex`, `display: inline-flex`, `align-content`, `align-items`, `align-self`, `justify-content` and `order`.",
  4. "spec":"https://www.w3.org/TR/css3-flexbox/",
  5. "status":"cr",
  6. "links":[
  7. {
  8. "url":"http://bennettfeely.com/flexplorer/",
  9. "title":"Flexbox CSS generator"
  10. },
  11. {
  12. "url":"http://www.adobe.com/devnet/html5/articles/working-with-flexbox-the-new-spec.html",
  13. "title":"Article on using the latest spec"
  14. },
  15. {
  16. "url":"https://dev.opera.com/articles/view/advanced-cross-browser-flexbox/",
  17. "title":"Tutorial on cross-browser support"
  18. },
  19. {
  20. "url":"http://philipwalton.github.io/solved-by-flexbox/",
  21. "title":"Examples on how to solve common layout problems with flexbox"
  22. },
  23. {
  24. "url":"https://css-tricks.com/snippets/css/a-guide-to-flexbox/",
  25. "title":"A Complete Guide to Flexbox"
  26. },
  27. {
  28. "url":"http://the-echoplex.net/flexyboxes/",
  29. "title":"Flexbox playground and code generator"
  30. },
  31. {
  32. "url":"https://github.com/philipwalton/flexbugs",
  33. "title":"Flexbugs: Repo for flexbox bugs"
  34. },
  35. {
  36. "url":"https://github.com/10up/flexibility/",
  37. "title":"10up Open Sources IE 8 and 9 Support for Flexbox"
  38. },
  39. {
  40. "url":"https://github.com/vadimyer/ecligrid",
  41. "title":"Ecligrid - Mobile first flexbox grid system"
  42. },
  43. {
  44. "url":"http://gedd.ski/post/the-difference-between-width-and-flex-basis/",
  45. "title":"The Difference Between Width and Flex-Basis"
  46. }
  47. ],
  48. "bugs":[
  49. {
  50. "description":"[Flexbugs](https://github.com/philipwalton/flexbugs): community-curated list of flexbox issues and cross-browser workarounds for them"
  51. },
  52. {
  53. "description":"In IE10 the default value for `flex` is `0 0 auto` rather than `0 1 auto` as defined in the latest spec."
  54. },
  55. {
  56. "description":"In Safari 10.1 and below, the height of (non flex) children are not recognized in percentages. However other browsers recognize and scale the children based on percentage heights. Fixed in all versions > 10.1 ([See bug](https://bugs.webkit.org/show_bug.cgi?id=137730)) The bug also appeared in Chrome but was fixed in [Chrome 51](https://bugs.chromium.org/p/chromium/issues/detail?id=341310)"
  57. },
  58. {
  59. "description":"Firefox 51 and below does not support [Flexbox in button elements](https://bugzilla.mozilla.org/show_bug.cgi?id=984869#c2). Fixed in version 52."
  60. },
  61. {
  62. "description":"IE 11 does not vertically align items correctly when `min-height` is used [see bug](https://connect.microsoft.com/IE/feedback/details/816293/ie11-flexbox-with-min-height-not-vertically-aligning-with-align-items-center)"
  63. },
  64. {
  65. "description":"In IE10 and IE11, containers with `display: flex` and `flex-direction: column` will not properly calculate their flexed childrens' sizes if the container has `min-height` but no explicit `height` property. [See bug](https://connect.microsoft.com/IE/feedback/details/802625/min-height-and-flexbox-flex-direction-column-dont-work-together-in-ie-10-11-preview)."
  66. },
  67. {
  68. "description":"IE 11 requires a unit to be added to the third argument, the flex-basis property [see MSFT documentation](https://msdn.microsoft.com/en-us/library/dn254946%28v=vs.85%29.aspx)"
  69. },
  70. {
  71. "description":"Safari 10 and below uses min/max width/height declarations for actually rendering the size of flex items, but it ignores those values when calculating how many items should be on a single line of a multi-line flex container. Instead, it simply uses the item's flex-basis value, or its width if the flex basis is set to auto. [see bug](https://bugs.webkit.org/show_bug.cgi?id=136041). Fixed in all versions > 10."
  72. },
  73. {
  74. "description":"The space-evenly value of the justify-content property, as described in the [CSS Box Alignment Module Level 3](https://www.w3.org/TR/css-align-3/#distribution-values) is only supported by Firefox."
  75. }
  76. ],
  77. "categories":[
  78. "CSS3"
  79. ],
  80. "stats":{
  81. "ie":{
  82. "5.5":"n",
  83. "6":"n",
  84. "7":"n",
  85. "8":"n",
  86. "9":"n",
  87. "10":"a x #2 #4",
  88. "11":"a #4"
  89. },
  90. "edge":{
  91. "12":"y",
  92. "13":"y",
  93. "14":"y",
  94. "15":"y",
  95. "16":"y",
  96. "17":"y"
  97. },
  98. "firefox":{
  99. "2":"a x #1",
  100. "3":"a x #1",
  101. "3.5":"a x #1",
  102. "3.6":"a x #1",
  103. "4":"a x #1",
  104. "5":"a x #1",
  105. "6":"a x #1",
  106. "7":"a x #1",
  107. "8":"a x #1",
  108. "9":"a x #1",
  109. "10":"a x #1",
  110. "11":"a x #1",
  111. "12":"a x #1",
  112. "13":"a x #1",
  113. "14":"a x #1",
  114. "15":"a x #1",
  115. "16":"a x #1",
  116. "17":"a x #1",
  117. "18":"a x #1",
  118. "19":"a x #1",
  119. "20":"a x #1",
  120. "21":"a x #1",
  121. "22":"a #3",
  122. "23":"a #3",
  123. "24":"a #3",
  124. "25":"a #3",
  125. "26":"a #3",
  126. "27":"a #3",
  127. "28":"y",
  128. "29":"y",
  129. "30":"y",
  130. "31":"y",
  131. "32":"y",
  132. "33":"y",
  133. "34":"y",
  134. "35":"y",
  135. "36":"y",
  136. "37":"y",
  137. "38":"y",
  138. "39":"y",
  139. "40":"y",
  140. "41":"y",
  141. "42":"y",
  142. "43":"y",
  143. "44":"y",
  144. "45":"y",
  145. "46":"y",
  146. "47":"y",
  147. "48":"y",
  148. "49":"y",
  149. "50":"y",
  150. "51":"y",
  151. "52":"y",
  152. "53":"y",
  153. "54":"y",
  154. "55":"y",
  155. "56":"y",
  156. "57":"y",
  157. "58":"y",
  158. "59":"y",
  159. "60":"y",
  160. "61":"y"
  161. },
  162. "chrome":{
  163. "4":"a x #1",
  164. "5":"a x #1",
  165. "6":"a x #1",
  166. "7":"a x #1",
  167. "8":"a x #1",
  168. "9":"a x #1",
  169. "10":"a x #1",
  170. "11":"a x #1",
  171. "12":"a x #1",
  172. "13":"a x #1",
  173. "14":"a x #1",
  174. "15":"a x #1",
  175. "16":"a x #1",
  176. "17":"a x #1",
  177. "18":"a x #1",
  178. "19":"a x #1",
  179. "20":"a x #1",
  180. "21":"y x",
  181. "22":"y x",
  182. "23":"y x",
  183. "24":"y x",
  184. "25":"y x",
  185. "26":"y x",
  186. "27":"y x",
  187. "28":"y x",
  188. "29":"y",
  189. "30":"y",
  190. "31":"y",
  191. "32":"y",
  192. "33":"y",
  193. "34":"y",
  194. "35":"y",
  195. "36":"y",
  196. "37":"y",
  197. "38":"y",
  198. "39":"y",
  199. "40":"y",
  200. "41":"y",
  201. "42":"y",
  202. "43":"y",
  203. "44":"y",
  204. "45":"y",
  205. "46":"y",
  206. "47":"y",
  207. "48":"y",
  208. "49":"y",
  209. "50":"y",
  210. "51":"y",
  211. "52":"y",
  212. "53":"y",
  213. "54":"y",
  214. "55":"y",
  215. "56":"y",
  216. "57":"y",
  217. "58":"y",
  218. "59":"y",
  219. "60":"y",
  220. "61":"y",
  221. "62":"y",
  222. "63":"y",
  223. "64":"y",
  224. "65":"y",
  225. "66":"y",
  226. "67":"y"
  227. },
  228. "safari":{
  229. "3.1":"a x #1",
  230. "3.2":"a x #1",
  231. "4":"a x #1",
  232. "5":"a x #1",
  233. "5.1":"a x #1",
  234. "6":"a x #1",
  235. "6.1":"y x",
  236. "7":"y x",
  237. "7.1":"y x",
  238. "8":"y x",
  239. "9":"y",
  240. "9.1":"y",
  241. "10":"y",
  242. "10.1":"y",
  243. "11":"y",
  244. "11.1":"y",
  245. "TP":"y"
  246. },
  247. "opera":{
  248. "9":"n",
  249. "9.5-9.6":"n",
  250. "10.0-10.1":"n",
  251. "10.5":"n",
  252. "10.6":"n",
  253. "11":"n",
  254. "11.1":"n",
  255. "11.5":"n",
  256. "11.6":"n",
  257. "12":"n",
  258. "12.1":"y",
  259. "15":"y x",
  260. "16":"y x",
  261. "17":"y",
  262. "18":"y",
  263. "19":"y",
  264. "20":"y",
  265. "21":"y",
  266. "22":"y",
  267. "23":"y",
  268. "24":"y",
  269. "25":"y",
  270. "26":"y",
  271. "27":"y",
  272. "28":"y",
  273. "29":"y",
  274. "30":"y",
  275. "31":"y",
  276. "32":"y",
  277. "33":"y",
  278. "34":"y",
  279. "35":"y",
  280. "36":"y",
  281. "37":"y",
  282. "38":"y",
  283. "39":"y",
  284. "40":"y",
  285. "41":"y",
  286. "42":"y",
  287. "43":"y",
  288. "44":"y",
  289. "45":"y",
  290. "46":"y",
  291. "47":"y",
  292. "48":"y",
  293. "49":"y",
  294. "50":"y",
  295. "51":"y",
  296. "52":"y"
  297. },
  298. "ios_saf":{
  299. "3.2":"a x #1",
  300. "4.0-4.1":"a x #1",
  301. "4.2-4.3":"a x #1",
  302. "5.0-5.1":"a x #1",
  303. "6.0-6.1":"a x #1",
  304. "7.0-7.1":"y x",
  305. "8":"y x",
  306. "8.1-8.4":"y x",
  307. "9.0-9.2":"y",
  308. "9.3":"y",
  309. "10.0-10.2":"y",
  310. "10.3":"y",
  311. "11.0-11.2":"y",
  312. "11.3":"y"
  313. },
  314. "op_mini":{
  315. "all":"y"
  316. },
  317. "android":{
  318. "2.1":"a x #1",
  319. "2.2":"a x #1",
  320. "2.3":"a x #1",
  321. "3":"a x #1",
  322. "4":"a x #1",
  323. "4.1":"a x #1",
  324. "4.2-4.3":"a x #1",
  325. "4.4":"y",
  326. "4.4.3-4.4.4":"y",
  327. "62":"y"
  328. },
  329. "bb":{
  330. "7":"a x #1",
  331. "10":"y"
  332. },
  333. "op_mob":{
  334. "10":"n",
  335. "11":"n",
  336. "11.1":"n",
  337. "11.5":"n",
  338. "12":"n",
  339. "12.1":"y",
  340. "37":"y"
  341. },
  342. "and_chr":{
  343. "64":"y"
  344. },
  345. "and_ff":{
  346. "57":"y"
  347. },
  348. "ie_mob":{
  349. "10":"a x #2",
  350. "11":"y"
  351. },
  352. "and_uc":{
  353. "11.8":"y"
  354. },
  355. "samsung":{
  356. "4":"y",
  357. "5":"y",
  358. "6.2":"y"
  359. },
  360. "and_qq":{
  361. "1.2":"y"
  362. },
  363. "baidu":{
  364. "7.12":"y"
  365. }
  366. },
  367. "notes":"Most partial support refers to supporting an [older version](https://www.w3.org/TR/2009/WD-css3-flexbox-20090723/) of the specification or an [older syntax](https://www.w3.org/TR/2012/WD-css3-flexbox-20120322/).",
  368. "notes_by_num":{
  369. "1":"Only supports the [old flexbox](https://www.w3.org/TR/2009/WD-css3-flexbox-20090723) specification and does not support wrapping.",
  370. "2":"Only supports the [2012 syntax](https://www.w3.org/TR/2012/WD-css3-flexbox-20120322/)",
  371. "3":"Does not support flex-wrap, flex-flow or align-content properties",
  372. "4":"Partial support is due to large amount of bugs present (see known issues)"
  373. },
  374. "usage_perc_y":94.06,
  375. "usage_perc_a":3.74,
  376. "ucprefix":false,
  377. "parent":"",
  378. "keywords":"flex-box,flex-direction,flex-wrap,flex-flow,flex-grow,flex-basis,display:flex,flex box",
  379. "ie_id":"flexbox",
  380. "chrome_id":"4837301406400512",
  381. "firefox_id":"",
  382. "webkit_id":"",
  383. "shown":true
  384. }