Split text into pages and present separately (HTML5)

前端 未结 6 1654
梦如初夏
梦如初夏 2020-12-03 03:27

Let\'s say we have a long text like Romeo & Juliet and we want to present this in a simple ereader (no animations, only pages and custom font-size). What approaches exis

6条回答
  •  慢半拍i
    慢半拍i (楼主)
    2020-12-03 04:09

    That's simple, and no javascript is needed. The paged media type is supported since CSS2. See http://www.w3.org/TR/CSS21/page.html (or current CSS3 module) for supported properties.

提交回复
热议问题