:first and :nth(x) selectors on named page
:first
and :nth(x)
selectors seems don't work on named page.
For now, with the following code, there is no background-color.
.chapter{
page: chapter;
}
@page chapter:first {
background-color: yellow;
}
@page chapter:nth(2) {
background-color: red;
}
In the right way, there should be a bakground on every first chapter page and a background on every second chapter page.
Files : Issue-18.zip