Source code

Revision control

Copy as Markdown

Other Tools

<!DOCTYPE html>
<html>
<style>
div {
width: 1in;
height: 1in;
border: 1px solid black;
}
.fixed {
position: fixed;
left: 0.5in;
top: 0.5in;
border-color: blue;
}
</style>
<body>
<div class="fixed">fixed</div>
<div style="break-after: page">a</div>
<div>b</div>
</body>
</html>