0.18.4 • Published 1 year ago

printed v0.18.4

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

Printed

Downloads Version Gzip Size

A Print Friendly CSS Library.

Table of contents

Features

  • Complete HTML5 Element Support
  • Text-Only Mode: htmldata-theme=print-min
  • Advanced Url Pseudo & MIME Support
  • Add Page Break After Title Cover (.cover)
  • Hide Or Show Content (.hide) & (.show)
  • Ten Built-In CSS3 Image Filter Properties:
    • (.blur), (.brightness), (.contrast)
    • (.invert), (.monochrome), (.saturate), (.sepia)
    • (.hue-90), (.hue-180), (.hue-270)
  • Print Single, Full-Page Or Image Gallery:
  • Set Page Break Structure (.page-break)
  • Dark Paper Mode: htmldata-paper=dark
  • Exact Color Match: htmldata-color=exact
  • Paper Size Sectioning:
    • htmldata-paper=value .paper-size
    • ledger, legal, letter
    • A3, A4, A5, B4, B5, JIS-B4, JIS-B5
  • Landscape Columns:

Files

/
├── printed.css
├── printed.min.css   (compressed)

Installation

npm install printed

In browser:

<link href="/path/to/printed.css" rel="stylesheet" media="print">

Browser support

  • Chrome / Edge (latest)
  • Firefox (latest)
  • Safari (latest)

Versioning

Maintained under the Semantic Versioning guidelines.

License

MIT © Alexander Dawson

⬆ back to top

0.18.4

1 year ago

0.18.3

1 year ago

0.18.2

1 year ago

0.18.1

1 year ago

0.18.0

1 year ago