@superkoders/postcss-print

0.1.1 • Public • Published

@superkoders/postcss-print

PostCSS plugin for easier creation of print styles.

How it works?

Plugin adds print media query to those queries, which target medium breakpoints. The result printed page should look like tablet view.

More docs to follow.

Usage

const print = require('@superkoders/postcss-print');

return src(...)
    .pipe(postcss([autoprefixer(), ..., print({ breakpoint: breakpoints?.md || '750px' })])
    .pipe(dest(...)),
);

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i @superkoders/postcss-print

      Weekly Downloads

      1

      Version

      0.1.1

      License

      ISC

      Unpacked Size

      2.04 kB

      Total Files

      3

      Last publish

      Collaborators

      • martina.paclikova
      • josk
      • andsco
      • fireball_
      • jena.hajek
      • petrbulaneksk
      • petr.grochal