- Clone this Gist.
- For card sizes other than A5, edit the
sizevalue in@page, and theheightandwidthproperties ofbody. - Add contents to each face. The simplest approach is to add an image called
front.pngof the same dimensions as the card. - Generate a PDF from the HTML + CSS. If using Prince, it's as simple as
prince index.html card.pdf. - Take the PDF to a printer, and ask them to print as many copies as you need.