Skip to content

Latest commit

 

History

History
47 lines (36 loc) · 1.67 KB

File metadata and controls

47 lines (36 loc) · 1.67 KB

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.