OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <html> | 2 <html> |
3 <style> | 3 <style> |
4 .container { | 4 .container { |
5 position: relative; | 5 position: relative; |
6 background-color: pink; | 6 background-color: pink; |
7 outline: 1px solid black; | 7 outline: 1px solid black; |
8 display: inline-block; | 8 display: inline-block; |
9 } | 9 } |
10 .flexbox { | 10 .flexbox { |
11 display: -webkit-flex; | 11 display: flex; |
12 background-color: grey; | 12 background-color: grey; |
13 width: 100px; | 13 width: 100px; |
14 height: 100px; | 14 height: 100px; |
15 } | 15 } |
16 .flexbox > * { | 16 .flexbox > * { |
17 -webkit-flex: none; | 17 flex: none; |
18 } | 18 } |
19 .title { | 19 .title { |
20 margin-top: 1em; | 20 margin-top: 1em; |
21 } | 21 } |
22 .ltr { | 22 .ltr { |
23 direction: ltr; | 23 direction: ltr; |
24 } | 24 } |
25 .rtl { | 25 .rtl { |
26 direction: rtl; | 26 direction: rtl; |
27 } | 27 } |
28 .horizontal-tb { | 28 .horizontal-tb { |
29 -webkit-writing-mode: horizontal-tb; | 29 -webkit-writing-mode: horizontal-tb; |
30 } | 30 } |
31 .horizontal-bt { | 31 .horizontal-bt { |
32 -webkit-writing-mode: horizontal-bt; | 32 -webkit-writing-mode: horizontal-bt; |
33 } | 33 } |
34 .vertical-rl { | 34 .vertical-rl { |
35 -webkit-writing-mode: vertical-rl; | 35 -webkit-writing-mode: vertical-rl; |
36 } | 36 } |
37 .vertical-lr { | 37 .vertical-lr { |
38 -webkit-writing-mode: vertical-lr; | 38 -webkit-writing-mode: vertical-lr; |
39 } | 39 } |
40 .row { | 40 .row { |
41 -webkit-flex-flow: row; | 41 flex-flow: row; |
42 } | 42 } |
43 .row-reverse { | 43 .row-reverse { |
44 -webkit-flex-flow: row-reverse; | 44 flex-flow: row-reverse; |
45 } | 45 } |
46 .column { | 46 .column { |
47 -webkit-flex-flow: column; | 47 flex-flow: column; |
48 } | 48 } |
49 .column-reverse { | 49 .column-reverse { |
50 -webkit-flex-flow: column-reverse; | 50 flex-flow: column-reverse; |
51 } | 51 } |
52 .physical { | 52 .physical { |
53 margin: 10px 20px 30px 40px; | 53 margin: 10px 20px 30px 40px; |
54 } | 54 } |
55 .physical > div { | 55 .physical > div { |
56 margin: 13px auto 17px auto; | 56 margin: 13px auto 17px auto; |
57 } | 57 } |
58 .logical { | 58 .logical { |
59 -webkit-margin-before: 10px; | 59 -webkit-margin-before: 10px; |
60 -webkit-margin-after: 30px; | 60 -webkit-margin-after: 30px; |
(...skipping 214 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
275 '</div>'; | 275 '</div>'; |
276 | 276 |
277 document.body.appendChild(container); | 277 document.body.appendChild(container); |
278 }) | 278 }) |
279 }) | 279 }) |
280 }) | 280 }) |
281 }) | 281 }) |
282 </script> | 282 </script> |
283 </body> | 283 </body> |
284 </html> | 284 </html> |
OLD | NEW |