OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 <link href="resources/grid.css" rel="stylesheet"> | 4 <link href="resources/grid.css" rel="stylesheet"> |
5 <style> | 5 <style> |
6 .grid { | 6 .grid { |
7 grid-definition-rows: 100px; | 7 grid-template-rows: 100px; |
8 grid-definition-columns: 200px 200px; | 8 grid-template-columns: 200px 200px; |
9 width: -webkit-fit-content; | 9 width: -webkit-fit-content; |
10 margin-top: 10px; | 10 margin-top: 10px; |
11 } | 11 } |
12 .red { | 12 .red { |
13 background-color: red; | 13 background-color: red; |
14 } | 14 } |
15 .green { | 15 .green { |
16 background-color: green; | 16 background-color: green; |
17 } | 17 } |
18 .positiveZIndex { | 18 .positiveZIndex { |
(...skipping 19 matching lines...) Expand all Loading... |
38 </div> | 38 </div> |
39 | 39 |
40 <div class="grid"> | 40 <div class="grid"> |
41 <div class="sizedToGridArea green firstRowBothColumn"></div> | 41 <div class="sizedToGridArea green firstRowBothColumn"></div> |
42 <div class="sizedToGridArea red negativeZIndex firstRowFirstColumn"></div> | 42 <div class="sizedToGridArea red negativeZIndex firstRowFirstColumn"></div> |
43 <div class="sizedToGridArea red negativeZIndex firstRowSecondColumn"></div> | 43 <div class="sizedToGridArea red negativeZIndex firstRowSecondColumn"></div> |
44 </div> | 44 </div> |
45 | 45 |
46 </body> | 46 </body> |
47 </html> | 47 </html> |
OLD | NEW |