| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <html> | 2 <html> |
| 3 <head> | 3 <head> |
| 4 <link href="resources/flexbox.css" rel="stylesheet"> | 4 <link href="resources/flexbox.css" rel="stylesheet"> |
| 5 <style> | 5 <style> |
| 6 .flexbox { | 6 .flexbox { |
| 7 height: 100px; | 7 height: 100px; |
| 8 overflow: scroll; | 8 overflow: scroll; |
| 9 } | 9 } |
| 10 .flexbox > div { | 10 .flexbox > div { |
| 11 -webkit-flex: none; | 11 flex: none; |
| 12 flex: none; | 12 flex: none; |
| 13 } | 13 } |
| 14 .flexbox > :nth-child(1) { | 14 .flexbox > :nth-child(1) { |
| 15 background-color: lightgreen; | 15 background-color: lightgreen; |
| 16 } | 16 } |
| 17 .flexbox > :nth-child(2) { | 17 .flexbox > :nth-child(2) { |
| 18 background-color: lightblue; | 18 background-color: lightblue; |
| 19 } | 19 } |
| 20 </style> | 20 </style> |
| 21 </head> | 21 </head> |
| (...skipping 14 matching lines...) Expand all Loading... |
| 36 <div style="height: 50px; width: 50%;"></div> | 36 <div style="height: 50px; width: 50%;"></div> |
| 37 <div style="height: 50px; width: 50%; background-color: lightblue"></div> | 37 <div style="height: 50px; width: 50%; background-color: lightblue"></div> |
| 38 </div> | 38 </div> |
| 39 | 39 |
| 40 <div class="flexbox column wrap align-content-flex-start" style="height: auto; m
ax-height: 100px; padding: 10px;"> | 40 <div class="flexbox column wrap align-content-flex-start" style="height: auto; m
ax-height: 100px; padding: 10px;"> |
| 41 <div style="height: 50px; width: 300px;"></div> | 41 <div style="height: 50px; width: 300px;"></div> |
| 42 <div style="height: 50px; width: 300px; background-color: lightblue"></div> | 42 <div style="height: 50px; width: 300px; background-color: lightblue"></div> |
| 43 </div> | 43 </div> |
| 44 </body> | 44 </body> |
| 45 </html> | 45 </html> |
| OLD | NEW |