[css3-break] fragment selectors

The box-decoration-break property lets me have an element broken across
pages where the first half of the element lacks a bottom border and the
last half of the element (on page 2) lacks a top border.  This is a good
step, but I'd really like to have control over the styling of the fragments
separately.  Something like:

div:breaks-on-to-next-page {
  ...
}
div:breaks-from-prev-page {
  ...
}

(My naming is terrible, yes).  This would let me make the breakage more
obvious as shown in this image:

[image: Inline image 1]

Thanks!

(Did I send this to the right place?)

Matt Haggard

Received on Tuesday, 19 April 2016 14:11:09 UTC