TLDR · PROGRAMMING, DESIGN & DATA SCIENCE
CSS FOR PRINTING TO PAPER
Summary from the TLDR newsletter
This article explains how CSS controls how webpages look when printed. It covers the @page property, @media print, element positioning, how to handle multi-page documents with repeating elements, and more. An 'essentials cheatsheet' is provided at the end of the article.