| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <html> | 2 <html> |
| 3 <style> | 3 <style> |
| 4 .flexbox { | 4 .flexbox { |
| 5 position: relative; | 5 position: relative; |
| 6 display: -webkit-flex; | 6 display: flex; |
| 7 background-color: grey; | 7 background-color: grey; |
| 8 max-width: 100px; | 8 max-width: 100px; |
| 9 -webkit-align-content: flex-start; | 9 align-content: flex-start; |
| 10 } | 10 } |
| 11 .flexbox > * { | 11 .flexbox > * { |
| 12 -webkit-flex: none; | 12 flex: none; |
| 13 } | 13 } |
| 14 .title { | 14 .title { |
| 15 margin-top: 1em; | 15 margin-top: 1em; |
| 16 } | 16 } |
| 17 .ltr { | 17 .ltr { |
| 18 direction: ltr; | 18 direction: ltr; |
| 19 } | 19 } |
| 20 .rtl { | 20 .rtl { |
| 21 direction: rtl; | 21 direction: rtl; |
| 22 } | 22 } |
| 23 .horizontal-tb { | 23 .horizontal-tb { |
| 24 -webkit-writing-mode: horizontal-tb; | 24 -webkit-writing-mode: horizontal-tb; |
| 25 } | 25 } |
| 26 .horizontal-bt { | 26 .horizontal-bt { |
| 27 -webkit-writing-mode: horizontal-bt; | 27 -webkit-writing-mode: horizontal-bt; |
| 28 } | 28 } |
| 29 .vertical-rl { | 29 .vertical-rl { |
| 30 -webkit-writing-mode: vertical-rl; | 30 -webkit-writing-mode: vertical-rl; |
| 31 } | 31 } |
| 32 .vertical-lr { | 32 .vertical-lr { |
| 33 -webkit-writing-mode: vertical-lr; | 33 -webkit-writing-mode: vertical-lr; |
| 34 } | 34 } |
| 35 .row { | 35 .row { |
| 36 -webkit-flex-flow: row; | 36 flex-flow: row; |
| 37 } | 37 } |
| 38 .row-reverse { | 38 .row-reverse { |
| 39 -webkit-flex-flow: row-reverse; | 39 flex-flow: row-reverse; |
| 40 } | 40 } |
| 41 .column { | 41 .column { |
| 42 -webkit-flex-flow: column; | 42 flex-flow: column; |
| 43 } | 43 } |
| 44 .column-reverse { | 44 .column-reverse { |
| 45 -webkit-flex-flow: column-reverse; | 45 flex-flow: column-reverse; |
| 46 } | 46 } |
| 47 .wrap { | 47 .wrap { |
| 48 -webkit-flex-wrap: wrap; | 48 flex-wrap: wrap; |
| 49 } | 49 } |
| 50 .wrap-reverse { | 50 .wrap-reverse { |
| 51 -webkit-flex-wrap: wrap-reverse; | 51 flex-wrap: wrap-reverse; |
| 52 } | 52 } |
| 53 .justify-content-flex-start { | 53 .justify-content-flex-start { |
| 54 -webkit-justify-content: flex-start; | 54 justify-content: flex-start; |
| 55 } | 55 } |
| 56 .justify-content-flex-end { | 56 .justify-content-flex-end { |
| 57 -webkit-justify-content: flex-end; | 57 justify-content: flex-end; |
| 58 } | 58 } |
| 59 .justify-content-center { | 59 .justify-content-center { |
| 60 -webkit-justify-content: center; | 60 justify-content: center; |
| 61 } | 61 } |
| 62 .justify-content-space-between { | 62 .justify-content-space-between { |
| 63 -webkit-justify-content: space-between; | 63 justify-content: space-between; |
| 64 } | 64 } |
| 65 .justify-content-space-around { | 65 .justify-content-space-around { |
| 66 -webkit-justify-content: space-around; | 66 justify-content: space-around; |
| 67 } | 67 } |
| 68 .flexbox > :nth-child(1) { | 68 .flexbox > :nth-child(1) { |
| 69 background-color: #0f0; | 69 background-color: #0f0; |
| 70 } | 70 } |
| 71 .flexbox > :nth-child(2) { | 71 .flexbox > :nth-child(2) { |
| 72 background-color: #090; | 72 background-color: #090; |
| 73 } | 73 } |
| 74 .flexbox > :nth-child(3) { | 74 .flexbox > :nth-child(3) { |
| 75 background-color: #00f; | 75 background-color: #00f; |
| 76 } | 76 } |
| (...skipping 2539 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2616 | 2616 |
| 2617 document.body.appendChild(flexbox); | 2617 document.body.appendChild(flexbox); |
| 2618 }) | 2618 }) |
| 2619 }) | 2619 }) |
| 2620 }) | 2620 }) |
| 2621 }) | 2621 }) |
| 2622 }) | 2622 }) |
| 2623 </script> | 2623 </script> |
| 2624 </body> | 2624 </body> |
| 2625 </html> | 2625 </html> |
| OLD | NEW |