tor-browser

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

flexbox_interactive_break-before-item.html (662B)


      1 <!DOCTYPE html>
      2 <title>flexbox | break-before, singleline, 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 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 p {
     24 	break-before: 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 after that.</h4>
     31 
     32 <div>
     33 <p>fail</p>
     34 </div>