OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <html> | 2 <html> |
3 <link href="resources/grid.css" rel="stylesheet"> | 3 <link href="resources/grid.css" rel="stylesheet"> |
4 <style> | 4 <style> |
5 .grid { | 5 .grid { |
6 grid-template-columns: (first) 50px (middle) 100px (last); | 6 grid-template-columns: [first] 50px [middle] 100px [last]; |
7 grid-template-rows: (first) 50px (middle) 100px (last); | 7 grid-template-rows: [first] 50px [middle] 100px [last]; |
8 /* To detect how much we extend the grid. */ | 8 /* To detect how much we extend the grid. */ |
9 grid-auto-columns: 200px; | 9 grid-auto-columns: 200px; |
10 grid-auto-rows: 200px; | 10 grid-auto-rows: 200px; |
11 | 11 |
12 /* Make the grid shrink-to-fit. */ | 12 /* Make the grid shrink-to-fit. */ |
13 position: absolute; | 13 position: absolute; |
14 } | 14 } |
15 | 15 |
16 .negativeStartPositionGrowGridInColumnDirection { | 16 .negativeStartPositionGrowGridInColumnDirection { |
17 grid-column: -1 / auto; | 17 grid-column: -1 / auto; |
(...skipping 176 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
194 </div> | 194 </div> |
195 | 195 |
196 <div style="position: relative"> | 196 <div style="position: relative"> |
197 <div class="grid" data-expected-width="150" data-expected-height="150"> | 197 <div class="grid" data-expected-width="150" data-expected-height="150"> |
198 <div class="sizedToGridArea namedGridLineEndPositionStartNegativeInRowDirect
ion" data-offset-x="0" data-offset-y="0" data-expected-width="50" data-expected-
height="50"></div> | 198 <div class="sizedToGridArea namedGridLineEndPositionStartNegativeInRowDirect
ion" data-offset-x="0" data-offset-y="0" data-expected-width="50" data-expected-
height="50"></div> |
199 </div> | 199 </div> |
200 </div> | 200 </div> |
201 | 201 |
202 </body> | 202 </body> |
203 </html> | 203 </html> |
OLD | NEW |