<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Title</title>
<style>
* {word-wrap:break-word;word-break:normal;box-sizing:border-box;outline: none;}
html{
font-family:system-ui,-apple-system,BlinkMacSystemFont,'segoe ui',Roboto, Helvetica,Arial,sans-serif,'apple color emoji','segoe ui emoji','segoe ui symbol';
-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%;
font-size:16px;
}
body {
background: #ffffff;
color: #000;
margin: 0;
padding: 0;
line-height: 1.5;
}
div{margin:0;padding:0;box-sizing: border-box;}
.wrap{margin:0 auto;width:105mm;overflow: hidden;}
.item {float:left;display:inline-table;width: 49mm;height:37mm;border:0 solid #000000;margin:1mm 1.75mm;padding:2mm;overflow: hidden;}
.item .box{float: left;width: 100%;height: 100%;border:1px solid #000000;padding:10px;overflow: hidden;}
.page-break-after{display:block;width: 100%;height:1px;page-break-before:always;page-break-after:always;}
</style>
</head>
<body>
<div class="wrap">
{for start="1" end="5"}
<div class="item">
<div class="box">
{$i}
</div>
</div>
{if ($i%2==0)}
<div class="page-break-after"> </div>
{/if}
{/for}
</div>
</body>
</html>