21 lines
415 B
HTML
21 lines
415 B
HTML
<!DOCTYPE html>
|
|
<link href="resources/grid.css" rel="stylesheet">
|
|
<style>
|
|
.basic {
|
|
background-color: grey;
|
|
height: 100px;
|
|
margin-top: 50px;
|
|
}
|
|
|
|
.item {
|
|
width: 50px;
|
|
height: 50px;
|
|
margin-top: 20px;
|
|
}
|
|
</style>
|
|
<div>This test checks that the grid's margins do not collapse with the margins of its contents.</div>
|
|
<div class="basic grid">
|
|
<div class="item firstRowFirstColumn"></div>
|
|
</div>
|
|
|