OLD | NEW |
| (Empty) |
1 <style> | |
2 div.test { | |
3 border: solid silver; | |
4 -webkit-border-before-width: 2px; | |
5 -webkit-border-end-width: 4px; | |
6 -webkit-border-after-width: 1px; | |
7 -webkit-border-start-width: 3px; | |
8 -webkit-logical-width: 64px; | |
9 -webkit-logical-height: 32px; | |
10 -webkit-column-count: 2; | |
11 -webkit-column-gap: 4px; | |
12 -webkit-column-rule: 2px solid orange; | |
13 -webkit-column-progression: reverse; | |
14 column-count: 2; | |
15 column-gap: 4px; | |
16 column-rule: 2px solid orange; | |
17 column-fill: auto; | |
18 } | |
19 | |
20 .writing-mode-lr div.test { | |
21 -webkit-writing-mode: vertical-lr; | |
22 } | |
23 | |
24 .writing-mode-rl div.test { | |
25 -webkit-writing-mode: vertical-rl; | |
26 } | |
27 | |
28 .writing-mode-tb div.test { | |
29 -webkit-writing-mode: horizontal-tb; | |
30 } | |
31 | |
32 .writing-mode-bt div.test { | |
33 -webkit-writing-mode: horizontal-bt; | |
34 } | |
35 | |
36 div.axis-vertical { | |
37 -webkit-column-axis: vertical; | |
38 } | |
39 | |
40 div.axis-horizontal { | |
41 -webkit-column-axis: horizontal; | |
42 } | |
43 | |
44 .writing-mode-tb div.axis-vertical, .writing-mode-bt div.axis-vertical, | |
45 .writing-mode-lr div.axis-horizontal, .writing-mode-rl div.axis-horizontal { | |
46 -webkit-margin-after: 16px; | |
47 -webkit-margin-before: 96px; | |
48 } | |
49 | |
50 .writing-mode-tb div.axis-horizontal, .writing-mode-bt div.axis-horizontal, | |
51 .writing-mode-lr div.axis-vertical, .writing-mode-rl div.axis-vertical { | |
52 -webkit-margin-start: 96px; | |
53 margin-bottom: 16px; | |
54 margin-top: 48px; | |
55 } | |
56 | |
57 div.test > div { | |
58 -webkit-logical-height: 20px; | |
59 -webkit-border-before: 4px dotted; | |
60 -webkit-border-start: 2px dotted white; | |
61 } | |
62 | |
63 div.test > div:nth-child(1) { background-color: #707; } | |
64 div.test > div:nth-child(2) { background-color: #00f; } | |
65 div.test > div:nth-child(3) { background-color: #0bf; } | |
66 div.test > div:nth-child(4) { background-color: #086; } | |
67 </style> | |
68 <div class="writing-mode-tb"> | |
69 <div class="test axis-horizontal"> | |
70 <div></div> | |
71 <div></div> | |
72 <div></div> | |
73 <div></div> | |
74 </div> | |
75 <div class="test axis-vertical"> | |
76 <div></div> | |
77 <div></div> | |
78 <div></div> | |
79 <div></div> | |
80 </div> | |
81 </div> | |
82 <div class="writing-mode-bt"> | |
83 <div class="test axis-horizontal"> | |
84 <div></div> | |
85 <div></div> | |
86 <div></div> | |
87 <div></div> | |
88 </div> | |
89 <div class="test axis-vertical"> | |
90 <div></div> | |
91 <div></div> | |
92 <div></div> | |
93 <div></div> | |
94 </div> | |
95 </div> | |
96 <div class="writing-mode-lr"> | |
97 <div class="test axis-horizontal"> | |
98 <div></div> | |
99 <div></div> | |
100 <div></div> | |
101 <div></div> | |
102 </div> | |
103 <div class="test axis-vertical"> | |
104 <div></div> | |
105 <div></div> | |
106 <div></div> | |
107 <div></div> | |
108 </div> | |
109 </div> | |
110 <div class="writing-mode-rl"> | |
111 <div class="test axis-horizontal"> | |
112 <div></div> | |
113 <div></div> | |
114 <div></div> | |
115 <div></div> | |
116 </div> | |
117 <div class="test axis-vertical"> | |
118 <div></div> | |
119 <div></div> | |
120 <div></div> | |
121 <div></div> | |
122 </div> | |
123 </div> | |
OLD | NEW |