Skip to content

Comments

feat: page break#7

Open
sambacha wants to merge 1 commit intomasterfrom
feat/page-break
Open

feat: page break#7
sambacha wants to merge 1 commit intomasterfrom
feat/page-break

Conversation

@sambacha
Copy link
Owner

Page Break:

Provides two ways to break a page, the class break-before will to break before and break-after to break after.

Example:

<!-- The title will be on a new page -->
<h1 class="break-before">My title</h1>

<p class="break-after">I will break after this paragraph</p>
<!-- Break here, the next paragraph will be on a new page -->
<p>I am on a new page</p>

##  Page Break:
 Provides two ways to break a page, the class break-before will to break before and break-after to break after.

Example:

```html
<!-- The title will be on a new page -->
<h1 class="break-before">My title</h1>

<p class="break-after">I will break after this paragraph</p>
<!-- Break here, the next paragraph will be on a new page -->
<p>I am on a new page</p>
````
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant