Tech News
← Home  ·  All topics

Css Print Styles

1 GoKawiil brief on this topic

Developer Brennen Puth advocates CSS print styles for personal websites

Blogger Brennen Puth describes testing his own site's print output and finding it unusable, with oversized text, a broken header and illegible gray links. He then shows how CSS media-print selectors, such as 'onlyPrint' and 'noPrint' classes, can be used to hide navigation and resize text so pages print cleanly.