Hartija---CSS-Print-Framework

Universal CSS for web printing

Github stars Tracking Chart

Hartija---CSS-Print-Framework

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; }

http://vladocar.github.io/Hartija---CSS-Print-Framework/

Demo Hartija

You can use direct download or:

$ npm i hartija---css-print-framework 
<link rel="stylesheet" href="https://unpkg.com/hartija---css-print-framework@1.0.0/print.css" type="text/css" media="print" charset="utf-8">

License

This project is licensed under the MIT License

Overview

Name With Ownervladocar/Hartija---CSS-Print-Framework
Primary LanguageHTML
Program languageCSS (Language Count: 2)
Platform
License:MIT License
Release Count0
Created At2014-09-08 22:28:48
Pushed At2021-08-10 11:24:05
Last Commit At2018-10-12 20:29:52
Stargazers Count534
Watchers Count15
Fork Count42
Commits Count14
Has Issues Enabled
Issues Count1
Issue Open Count0
Pull Requests Count2
Pull Requests Open Count0
Pull Requests Close Count0
Has Wiki Enabled
Is Archived
Is Fork
Is Locked
Is Mirror
Is Private
To the top