← All tools

CSS Print Page Break Generator

Generate legacy page-break and modern break declarations with selector parsing, five presets and an explicit schematic preview.

css-page-break-generatorLOCAL WORKSPACE

Enabling local controls…

Tool settings

Quick presets

Editing clears the previous result; generate again.

The schematic is not browser pagination. Test actual Print Preview with your content, page size and layout; left/right can insert blank pages. Selectors are parsed and never applied to this page.

Processed in local memory; inputs are not transmitted or stored.

Static source date: 2026-10-18

Preview and complete output

Set the controls, then generate.

How to use this tool

Enter a selector, set before/after/inside behavior, choose print wrapping and modern syntax, generate and export CSS.

When not to use it

The schematic is not browser pagination. Test actual Print Preview with your content, page size and layout; left/right can insert blank pages. Selectors are parsed and never applied to this page.