0; user-select: none; } body { width: 210mm; color-adjust: exact; svg { width: 210mm; height: 297mm; page-break-after: always; } } @page { size: A4 portrait; margin: 0; } @media screen { body { background: #dbdce0; margin: 0 auto; svg { background: #fff; box-shadow: 0 .5mm 2mm rgba(0,0,0,.3); margin-top: 5mm; } } } https://zenn.dev/ttskch/articles/ 1 f 157 2 cfd 2 e 37 5