by abhinav22 · 5y ago · 0 comments
But yes, it’s a deficiency in the system currently
Reset page number using counter is working: https://codepen.io/julientaq/details/MWammZV
The property needs to be set to the element, and not to the @page.
But we may have missed a bug though, so i’ll be happy to check your code.
#grampstextdoc {
counter-reset: page 7;
}
@page {
margin: 2cm 3cm;
@bottom-center {
content: counter(page);
}
}