3 ms·
Not an expert, correct me if I am wrong here. But I've wrestled with something similar. Be careful not to use REM for font-sizes as @Print ignores them, if yo
by seivan 11y ago
Not an expert, correct me if I am wrong here. But I've wrestled with something similar.
Be careful not to use REM for font-sizes as @Print ignores them, if you must (and obviously I/Brain must) you could get around by using % (so 1.5 REM -> 150%).
Make sure to set font-size on both body and html.
Also, not sure how to explain it, but if you open up a PDF in Preview, and select print. You might get a different size/layout and some design issues there. So always double check, but be careful not to use the Printed (Saved from Preview.app) as it disables links.
Don't spend any time on CSS transitions, as a PDF won't show them(?) (yep, sigh)
Also watch out for printers adding margins both top/bottom and sides.