tor-browser

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

flexbox_interactive_break-before-column-firstitem.html (708B)


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