Hartija---CSS-Print-Framework

Universal CSS for web printing

Github星跟蹤圖

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

主要指標

概覽
名稱與所有者vladocar/Hartija---CSS-Print-Framework
主編程語言HTML
編程語言CSS (語言數: 2)
平台
許可證MIT License
所有者活动
創建於2014-09-08 22:28:48
推送於2021-08-10 11:24:05
最后一次提交2018-10-12 20:29:52
發布數0
用户参与
星數530
關注者數14
派生數42
提交數14
已啟用問題?
問題數1
打開的問題數0
拉請求數2
打開的拉請求數0
關閉的拉請求數0
项目设置
已啟用Wiki?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?