OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <html> | 2 <html> |
3 <style> | 3 <style> |
4 body { | 4 body { |
5 margin: 0; | 5 margin: 0; |
6 } | 6 } |
7 .horizontal-box { | 7 .horizontal-box { |
8 display: -webkit-flex; | 8 display: flex; |
9 } | 9 } |
10 .horizontal-box div { | 10 .horizontal-box div { |
11 height: 30px; | 11 height: 30px; |
12 border: 0; | 12 border: 0; |
13 margin-bottom: 10px; | 13 margin-bottom: 10px; |
14 -webkit-flex: 1; | 14 flex: 1; |
15 } | 15 } |
16 | 16 |
17 .first { | 17 .first { |
18 background-color: #0f0; | 18 background-color: #0f0; |
19 } | 19 } |
20 .second { | 20 .second { |
21 background-color: #0d0; | 21 background-color: #0d0; |
22 } | 22 } |
23 .third { | 23 .third { |
24 background-color: #090; | 24 background-color: #090; |
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
76 <div class="first"></div><div class="second"></div><div class="third"></div><d
iv class="fourth"></div> | 76 <div class="first"></div><div class="second"></div><div class="third"></div><d
iv class="fourth"></div> |
77 </div> | 77 </div> |
78 | 78 |
79 | 79 |
80 | 80 |
81 <div style="position:absolute; left: -10000px;">You should see identical green b
ars going from light green | 81 <div style="position:absolute; left: -10000px;">You should see identical green b
ars going from light green |
82 (left) to dark green (right).</div> | 82 (left) to dark green (right).</div> |
83 | 83 |
84 </body> | 84 </body> |
85 </html> | 85 </html> |
OLD | NEW |