vcl-print

Implicit optimizations for print media output and utility classes for explicit control

Usage no npm install needed!

<script type="module">
  import vclPrint from 'https://cdn.skypack.dev/vcl-print';
</script>

README

VCL print

Implicit optimizations for print media output and utility classes for explicit control.

Features

Implicit optimizations:

  • Removes backgrounds, shadows.
  • Sets text color to black.
  • Makes the href value of links visible.

Usage

No need to add classes, implicit optimizations are applied by @media print enclosed rules. There are the classes below for explicit controlling viability in print mediums.

Classes

  • vclVisible-print
  • vclHidden-print

Modifiers

Variables

Demo

example.html on GH-pages.