CSS page-break properties

CSS page-break properties

Properties to control the way elements are broken across (printed) pages.

Spec http://www.w3.org/TR/CSS2/page.html#page-breaks
Status W3C Recommendation
IE Edge Firefox Chrome Safari Opera
    57 (1,2,3) 62 (1,2,3)    
    56 (1,2,3) 61 (1,2,3) TP (1,2,3) 48 (1,2,3)
  16 (1,2) 55 (1,2,3) 60 (1,2,3) 11 (1,2,3) 47 (1,2,3)
11 (1,2) 15 (1,2) 54 (1,2,3) 59 (1,2,3) 10.1 (1,2,3) 46 (1,2,3)
10 (1,2) 14 (1,2) 53 (1,2,3) 58 (1,2,3) 10 (2,3) 45 (1,2,3)
9 (1,2,3) 13 (1,2) 52 (1,2,3) 57 (1,2,3) 9.1 (1,2,3) 44 (1,2,3)
8 (1,2,3) 12 (1,2) 51 (1,2,3) 56 (1,2,3) 9 (1,2,3) 43 (1,2,3)
Show all
7 (1,2,3)   50 (1,2,3) 55 (1,2,3) 8 (1,2,3) 42 (1,2,3)
6 (1,2,3)   49 (1,2,3) 54 (1,2,3) 7.1 (1,2,3) 41 (1,2,3)
5.5 (1,2,3)   48 (1,2,3) 53 (1,2,3) 7 (1,2,3) 40 (1,2,3)
    47 (1,2,3) 52 (1,2,3) 6.1 (1,2,3) 39 (1,2,3)
    46 (1,2,3) 51 (1,2,3) 6 (1,2,3) 38 (1,2,3)
    45 (1,2,3) 50 (1,2,3) 5.1 (1,2,3) 37 (1,2,3)
    44 (1,2,3) 49 (1,2,3) 5 (1,2,3) 36 (1,2,3)
    43 (1,2,3) 48 (1,2,3) 4 (1,2,3) 35 (1,2,3)
    42 (1,2,3) 47 (1,2,3) 3.2 (1,2,3) 34 (1,2,3)
    41 (1,2,3) 46 (1,2,3) 3.1 (1,2,3) 33 (1,2,3)
    40 (1,2,3) 45 (1,2,3)   32 (1,2,3)
    39 (1,2,3) 44 (1,2,3)   31 (1,2,3)
    38 (1,2,3) 43 (1,2,3)   30 (1,2,3)
    37 (1,2,3) 42 (1,2,3)   29 (1,2,3)
    36 (1,2,3) 41 (1,2,3)   28 (1,2,3)
    35 (1,2,3) 40 (1,2,3)   27 (1,2,3)
    34 (1,2,3) 39 (1,2,3)   26 (1,2,3)
    33 (1,2,3) 38 (1,2,3)   25 (1,2,3)
    32 (1,2,3) 37 (1,2,3)   24 (1,2,3)
    31 (1,2,3) 36 (1,2,3)   23 (1,2,3)
    30 (1,2,3) 35 (1,2,3)   22 (1,2,3)
    29 (1,2,3) 34 (1,2,3)   21 (1,2,3)
    28 (1,2,3) 33 (1,2,3)   20 (1,2,3)
    27 (1,2,3) 32 (1,2,3)   19 (1,2,3)
    26 (1,2,3) 31 (1,2,3)   18 (1,2,3)
    25 (1,2,3) 30 (1,2,3)   17 (1,2,3)
    24 (1,2,3) 29 (1,2,3)   16 (1,2,3)
    23 (1,2,3) 28 (1,2,3)   15 (1,2,3)
    22 (1,2,3) 27 (1,2,3)   12.1 (1)
    21 (1,2,3) 26 (1,2,3)   12 (1)
    20 (1,2,3) 25 (1,2,3)   11.6 (1)
    19 (1,2,3) 24 (1,2,3)   11.5 (1)
    18 (1,2,3) 23 (1,2,3)   11.1 (1)
    17 (1,2,3) 22 (1,2,3)   11 (1)
    16 (1,2,3) 21 (1,2,3)   10.6 (1)
    15 (1,2,3) 20 (1,2,3)   10.5 (1)
    14 (1,2,3) 19 (1,2,3)   10.0-10.1 (1)
    13 (1,2,3) 18 (1,2,3)   9.5-9.6
    12 (1,2,3) 17 (1,2,3)   9
    11 (1,2,3) 16 (1,2,3)    
    10 (1,2,3) 15 (1,2,3)    
    9 (1,2,3) 14 (1,2,3)    
    8 (1,2,3) 13 (1,2,3)    
    7 (1,2,3) 12 (1,2,3)    
    6 (1,2,3) 11 (1,2,3)    
    5 (1,2,3) 10 (1,2,3)    
    4 (1,2,3) 9 (1,2,3)    
    3.6 (1,2,3) 8 (1,2,3)    
    3.5 (1,2,3) 7 (1,2,3)    
    3 (1,2,3) 6 (1,2,3)    
    2 (1,2,3) 5 (1,2,3)    
      4 (1,2,3)    
iOS Safari Opera Mini Android Browser Blackberry Browser Opera Mobile Android Chrome Android Firefox IE Mobile Android UC Browser Samsung Internet QQ Browser Baidu Browser
11 (1,2,3)                      
10.3 (1,2,3) all (1) 56 (1,2,3) 10 (1,2,3) 37 (1,2,3) 59 (1,2,3) 54 (1,2,3) 11 (1,2) 11.4 (1,2,3) 5 (1,2,3) 1.2 (1,2,3) 7.12 (1,2,3)
10.0-10.2 (1,2,3)   4.4.3-4.4.4 (1,2,3) 7 (1,2,3) 12.1 (1)     10 (1,2)   4 (1,2,3)    
9.3 (1,2,3)   4.4 (1,2,3)   12 (1)              
9.0-9.2 (1,2,3)   4.2-4.3 (1,2,3)   11.5 (1)              
Show all
8.1-8.4 (1,2,3)   4.1 (1,2,3)   11.1 (1)              
8 (1,2,3)   4 (1,2,3)   11 (1)              
7.0-7.1 (1,2,3)   3 (1,2,3)   10 (1)              
6.0-6.1 (1,2,3)   2.3 (1,2,3)                  
5.0-5.1 (1,2,3)   2.2 (1,2,3)                  
4.2-4.3 (1,2,3)   2.1 (1,2,3)                  
4.0-4.1 (1,2,3)                      
3.2 (1,2,3)                      

Notes

Not all mobile browsers offer print support; support listed for these is based on browser engine capability.

  1. Supports the page-break-* alias from the CSS 2.1 specification, but not the break-* properties from the latest spec.

  2. Does not support avoid for page-break-before & page-break-after (only page-break-inside).

  3. Treats the left and right values like always.

Resources

Data by caniuse.com
Licensed under the Creative Commons Attribution License v4.0.
http://caniuse.com/#feat=css-page-break

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部