Source code

Revision control

Copy as Markdown

Other Tools

<!DOCTYPE html>
<html>
<style>
@page {
margin: 0;
}
.block {
width: 1cm;
height: 1cm;
border: 2px solid red;
}
</style>
<body>
<div style="padding: 2cm; break-after: page">
<div class="block" style="border-color: lightblue"></div>
</div>
<div style="padding: 3cm">
<div class="block" style="border-color: pink"></div>
</div>
</body>
</html>