Skip to content
Universal CSS for web printing
Branch: master
Clone or download
vladocar Merge pull request #3 from gebeto/patch-1
Fix code highlight in README
Latest commit 8ed2560 Oct 12, 2018
Type Name Latest commit message Commit time
Failed to load latest commit information.
LICENSE Initial commit Sep 8, 2014 Fix code highlight in README Oct 12, 2018
hartija.html Create hartija.html Sep 8, 2014
print.css Update print.css Sep 17, 2014
print.jpg New commit Sep 8, 2014


What is Hartija?

Hartija is universal printing stylesheet or best printing CSS practices all in one.

How Hartija works?

Just use it like normal CSS:

<link rel="stylesheet" href="print.css" type="text/css" media="print">

The "magic" is in media="print", this CSS file will be used by the browser only when you print. You can also use it inside CSS like: @media print { .. }.

Only work you need to do is hide the stuff you don't need in the final print. Basically you hide some id and class in the CSS like:

#navbar, #footer, #someOtherID, .someClass, .otherClass { display : none; }

Demo Hartija

You can use direct download or:

$ npm i hartija---css-print-framework 
<link rel="stylesheet" href="" type="text/css" media="print" charset="utf-8">


This project is licensed under the MIT License

You can’t perform that action at this time.