Big update!Introducing GitHub Bot Commands. Learn more
Socket
Log inBook a demo

postcss-page-break

Package Overview
Dependencies
0
Maintainers
1
Versions
7
Issues
File Explorer

Advanced tools

postcss-page-break

PostCSS plugin postcss-page-break to fallback `break-` properties with `page-break-` alias

    3.0.4latest

Version published
Maintainers
1
Weekly downloads
5,503,685
decreased by-23.29%

Weekly downloads

Readme

Source

postcss-page-break

NPM Package Build Status License: MIT

PostCSS plugin to fallback break- properties with page-break- alias.

'Can I use' table

/* before */ .foo { break-inside: avoid; break-after: page; } /* after */ .foo { page-break-inside: avoid; break-inside: avoid; page-break-after: always; break-after: page; }

Available fallbacks:

break-inside: auto => page-break-inside: auto break-inside: avoid => page-break-inside: avoid break-inside: avoid-page => page-break-inside: avoid break-inside: inherit => page-break-inside: inherit break-inside: initial => page-break-inside: initial break-inside: unset => page-break-inside: unset break-before: auto => page-break-before: auto; break-before: avoid => page-break-before: avoid; break-before: avoid-page => page-break-before: avoid; break-before: page => page-break-before: always; break-before: always => page-break-before: always; break-before: left => page-break-before: left; break-before: right => page-break-before: right; break-before: recto => page-break-before: recto; break-before: verso => page-break-before: verso; break-before: inherit => page-break-before: inherit; break-before: initial => page-break-before: initial; break-before: unset => page-break-before: unset; break-after: auto => page-break-after: auto; break-after: avoid => page-break-after: avoid; break-after: avoid-page => page-break-after: avoid; break-after: page => page-break-after: always; break-after: always => page-break-after: always; break-after: left => page-break-after: left; break-after: right => page-break-after: right; break-after: recto => page-break-after: recto; break-after: verso => page-break-after: verso; break-after: inherit => page-break-after: inherit; break-after: initial => page-break-after: initial; break-after: unset => page-break-after: unset;

Installation

npm install --save-dev postcss postcss-page-break

Usage

postcss([ require('postcss-page-break') ])

See PostCSS docs for examples for your environment (webpack, gulp, grunt).

Keywords

FAQs

What is postcss-page-break?

PostCSS plugin postcss-page-break to fallback `break-` properties with `page-break-` alias

Is postcss-page-break popular?

The npm package postcss-page-break receives a total of 4,580,809 weekly downloads. As such, postcss-page-break popularity was classified as popular.

Is postcss-page-break well maintained?

We found that postcss-page-break demonstrated a not healthy version release cadence and project activity because the last version was released a year ago.It has 1 open source maintainer collaborating on the project.

Last updated on 27 Sep 2020

Did you know?

Socket installs a Github app to automatically flag issues on every pull request and report the health of your dependencies. Find out what is inside your node modules and prevent malicious activity before you update the dependencies.

Install Socket
Socket

Product

Subscribe to our newsletter

Get open source security insights delivered straight into your inbox. Be the first to learn about new features and product updates.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc