Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to do a page break ?? #1

Closed
sinjuangajan opened this issue Feb 11, 2016 · 3 comments
Closed

How to do a page break ?? #1

sinjuangajan opened this issue Feb 11, 2016 · 3 comments

Comments

@sinjuangajan
Copy link

I want page break for after each content for pages. How to implement it.

@koki-h
Copy link

koki-h commented Feb 12, 2016

Hello.
It will insert a page break after a element of .sheet class.

Here is sample.

<section class="sheet">
  <!-- first page -->
</section>
<section class="sheet">
  <!-- second page -->
</section>
      :
      :

@cognitom
Copy link
Owner

@koki-h thanks for explaining it 😄
@Sinju have a look at this line:
https://github.com/cognitom/paper-css/blob/master/paper.css#L9

@salim-dev
Copy link

Hello
is what you can add in class sheet :
break-after: page;
/* for Firefox : /
page-break-after: always;
/
for WebKit : */
-webkit-break-after: page;
thank

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

No branches or pull requests

4 participants