tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

flexbox_interactive_break-before-column-item.html (681B)


      1 <!DOCTYPE html>
      2 <title>flexbox | break-before, column, item</title>
      3 <link rel="author" href="http://opera.com" title="Opera Software">
      4 <link rel="help" href="http://www.w3.org/TR/css-flexbox-1/#pagination">
      5 <meta name="flags" content="interact paged">
      6 <style>
      7 * {widows: 1; orphans: 1;}
      8 div {
      9 border: 1px solid white;
     10 width: 20em;
     11 
     12 display: flex;
     13 flex-direction: column;
     14 }
     15 p {
     16 background: white;
     17 margin: 0;
     18 height: 2em;
     19 
     20 flex: 1;
     21 }
     22 @media projection, print {
     23 p:last-child {
     24 	break-before: always;
     25 }
     26 }
     27 </style>
     28 
     29 <h4>Enter fullscreen or print preview. You should not see the word fail
     30 on the first page after doing that.</h4>
     31 
     32 <div>
     33 <p></p>
     34 <p></p>
     35 <p>fail</p>
     36 </div>