Skip to content

The universal CSS to carry around in every website to make it adaptable to the printed page

License

Notifications You must be signed in to change notification settings

madmurphy/print.css

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

print.css

The universal CSS to carry around in every website to make it adaptable to the printed page

Besides the page itself, this CSS affects the printed layout of the following elements: <a>, <abbr>, <address>, <article>, <blockquote>, <button>, <cite>, <code>, <data>, <dd>, <del>, <details>, <dt>, <em>, <fieldset>, <figure>, <footer>, <h1>, <h2>, <h3>, <h4>, <h5>, <h6>, <hr>, <i>, <iframe>, <img>, <input>, <ins>, <legend>, <li>, <mark>, <nav>, <output>, <p>, <pre>, <q>, <section>, <select>, <summary>, <textarea>, <time>, <thead>, <tr>.

Available classes:

"new-page"
Print the element in a new page
"non-printable"
Do not print the element
"obvious"
Prevent the expansion of attributes (such as href, title, etc.) – useful when the content makes them redundant
"printable"
Print the element – useful for elements that would not be printed otherwise, such as <nav> containers, form buttons, etc.
"trackable"
Expand the content of value attributes assigned to (nested) <data> elements and datetime attributes assigned to (nested) <time> elements

Free software

This CSS is free software. You can redistribute it and/or modify it under the terms of the GPL license version 3 or any later version. See COPYING for details.

About

The universal CSS to carry around in every website to make it adaptable to the printed page

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages