Home / CSS Tips Generated By ChatGPT / Optimizing for Print in CSS Use CSS to optimize web pages for printing, removing unnecessary elements and styling. Source Code @media print { .no-print, nav, footer { display: none; } body { font-size: 12pt; } }