Commit 40b59b2a authored by Julie Blanc's avatar Julie Blanc

change link to the script

parent a52e8ed1
...@@ -4,10 +4,10 @@ ...@@ -4,10 +4,10 @@
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" /> <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<meta http-equiv="Content-Style-Type" content="text/css" /> <meta http-equiv="Content-Style-Type" content="text/css" />
<title> <title>
Fichier test counter(page)
</title> </title>
<script src="http://localhost:9090/dist/paged.polyfill.js"></script> <script src="https://unpkg.com/pagedjs/dist/paged.polyfill.js"></script>
<style> <style>
...@@ -17,16 +17,11 @@ ...@@ -17,16 +17,11 @@
@page { @page {
size: 6in 8in; size: 6in 8in;
margin: 20mm 20mm; margin: 20mm 20mm;
/* border: solid 1px black; */
@bottom-left{ @bottom-left{
content: counter(page); content: counter(page);
} }
} }
/* h1{
break-before: page;
page-break-before: always;
} */
p { p {
line-height: 22px; line-height: 22px;
......
...@@ -4,10 +4,10 @@ ...@@ -4,10 +4,10 @@
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" /> <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<meta http-equiv="Content-Style-Type" content="text/css" /> <meta http-equiv="Content-Style-Type" content="text/css" />
<title> <title>
Fichier test counter(pages)
</title> </title>
<script src="http://localhost:9090/dist/paged.polyfill.js"></script> <script src="https://unpkg.com/pagedjs/dist/paged.polyfill.js"></script>
<style> <style>
...@@ -17,16 +17,12 @@ ...@@ -17,16 +17,12 @@
@page { @page {
size: 6in 8in; size: 6in 8in;
margin: 20mm 20mm; margin: 20mm 20mm;
/* border: solid 1px black; */
@bottom-left{ @bottom-left{
content: counter(page) " / " counter(pages) ; content: counter(page) " / " counter(pages) ;
} }
} }
h1{
break-before: page;
page-break-before: always;
}
p { p {
line-height: 22px; line-height: 22px;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment