OLD | NEW |
1 <!DOCTYPE HTML> | 1 <!DOCTYPE HTML> |
2 <style> | 2 <style> |
3 body { | 3 body { |
4 margin: 0; | 4 margin: 0; |
5 } | 5 } |
6 #container { | 6 #container { |
7 display: flex; | 7 display: flex; |
8 justify-content: flex-start; | 8 justify-content: flex-start; |
9 width: 200px; | 9 width: 200px; |
10 height: 300px; | 10 height: 300px; |
11 background-color: orange; | 11 background-color: orange; |
12 } | 12 } |
13 .item { | 13 .item { |
14 background-color: green; | 14 background-color: green; |
15 border: solid thin blue; | 15 border: solid thin blue; |
16 width: 50px; | 16 width: 50px; |
17 } | 17 } |
18 </style> | 18 </style> |
19 <p style="height: 20px">Tests invalidation on justify-content style change. Pass
es if only one big orange bar appear aligned to the box's right edge.</p> | 19 <p style="height: 20px">Tests invalidation on justify-content style change. Pass
es if only one big orange bar appear aligned to the box's right edge.</p> |
20 <div id="container"> | 20 <div id="container"> |
21 <div class="item"> | 21 <div class="item"> |
22 <div style="height: 50px"></div> | 22 <div style="height: 50px"></div> |
23 </div> | 23 </div> |
24 <div class="item"> | 24 <div class="item"> |
25 <div style="height: 50px"></div> | 25 <div style="height: 50px"></div> |
26 </div> | 26 </div> |
27 </div> | 27 </div> |
OLD | NEW |