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