Source code
Revision control
Copy as Markdown
Other Tools
<!DOCTYPE html>
<meta charset="utf-8">
<title>CSS Not-reference Case</title>
<link rel="author" title="Daniel Holbert" href="mailto:dholbert@mozilla.com">
<style>
@page {
margin: 0;
size: 200px 300px;
}
@page rotated {
page-orientation: rotate-right;
}
body {
margin: 0;
}
.filler {
box-sizing: border-box;
width: 200px;
height: 300px;
border: 10px solid black;
}
</style>
<div class="filler">Page 1</div>
<div class="filler" style="page: rotated">Page 2</div>