tor-browser

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

flexbox_interactive_break-after-container.html (702B)


      1 <!DOCTYPE html>
      2 <title>flexbox | break-after, singleline, container</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 background: red;
     10 border: 1px solid white;
     11 width: 20em;
     12 
     13 display: flex;
     14 }
     15 p {
     16 background: white;
     17 margin: 0;
     18 height: 2em;
     19 
     20 flex: 1;
     21 }
     22 @media projection, print {
     23 div {
     24 	break-after: always;
     25 }
     26 }
     27 </style>
     28 
     29 <h4>There should not be any red anytime. Enter fullscreen or print
     30 preview. You should not see the word fail on the first page
     31 after doing that.</h4>
     32 
     33 <div>
     34 <p></p>
     35 </div>
     36 <h1>fail</h1>