summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/printing/page-margin-004-print-ref.html
blob: 24549d4954228c1e48e230fcf4981eeadd4b5d9c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<!DOCTYPE html>
<title>CSS Test Reference</title>
<link rel="author" title="Morten Stenshorne" href="mailto:mstensho@chromium.org">
<style>
  @page {
    size: 300px;
    margin: 10px 20px 30px 40px;
  }
  body {
    margin: 0;
  }
</style>
<div style="border:10px solid; background:yellow;">
  <div style="height:250px;">Page 1</div>
  <div style="background:cyan;">
    Page 2
  </div>
</div>