If you are a web developer who is sick of setting your documents layout...
Create your own A4 page with HTML and CSS!!
<body>
<div class="page">
<!-- Your content here -->
<h1>Hello from h1 tag</h1>
<h2>And I am h2</h2>
<!-- End of your content -->
</div>
</body>
git clone https://github.com/kykungz/html-a4-paper.git
You can specify bleeding and margin via CSS Variables.
<body style="--bleeding: 0.5cm;--margin: 1cm;">
<div class="page">
<!-- Your content here -->
</div>
</body>
You can add more pages with <div class="page"></div>
<body>
<!-- 3 Pages -->
<div class="page">Page 1</div>
<div class="page">Page 2</div>
<div class="page">Page 3</div>
</body>
- Open in Chrome (Recommended)
- Press
Ctrl+P
orCmd+P
- Change the destination to
Save as PDF