My document consists of divs that'll go on to multiple pages. However I'd like to style these elements differently if they are the last element in a page. Is there a way to select these elements?
These divs have page-break-inside: avoid.
Example:
div
div
div <-----this one should be styled differently
----page break
div
div <-----this one should be styled differently
----page break
div
div
....
These divs have page-break-inside: avoid.
Example:
div
div
div <-----this one should be styled differently
----page break
div
div <-----this one should be styled differently
----page break
div
div
....
Edited by locilocisu