Source code
Revision control
Copy as Markdown
Other Tools
<!DOCTYPE html>
<meta charset="utf-8">
<link rel="author" title="Ting-Yu Lin" href="mailto:tlin@mozilla.com">
<style>
@page { size: 5in 3in; margin: 0.5in; }
body { margin: 0; }
.table {
width: 3in;
box-sizing: border-box;
border: 0.25in solid black;
padding: 0.25in 0.5in;
box-decoration-break: clone;
}
.td {
margin: 0.25in 0;
border: 0.25in solid orange;
}
.content {
height: 2in;
background: gold;
}
</style>
<div class="table">
<div class="td">
<div class="content"></div>
</div>
</div>