OLD | NEW |
---|---|
(Empty) | |
1 <!DOCTYPE html> | |
2 <link href="resources/grid.css" rel="stylesheet"> | |
3 <style> | |
4 .basic { | |
5 background-color: grey; | |
6 height: 100px; | |
7 margin-top: 50px; | |
8 } | |
9 | |
10 .item { | |
11 width: 50px; | |
12 height: 50px; | |
13 margin-top: 20px; | |
14 } | |
15 </style> | |
16 <div>This test checks that the grid's margins do not collapse with the margins o f its contents.</div> | |
17 <div class="basic grid"> | |
18 <div class="item firstRowFirstColumn"></div> | |
19 </div> | |
20 | |
OLD | NEW |