mazurva / css-print-framework
Universal CSS for web printing
Installs: 9
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 41
Open Issues: 0
Language:HTML
This package is auto-updated.
Last update: 2024-11-15 01:37:15 UTC
README
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; }