tor-browser

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

out-of-flow-in-multicolumn-001.html (858B)


      1 <!DOCTYPE html>
      2 <link rel="help" href="https://www.w3.org/TR/css-break-3/#break-decoration">
      3 <link rel="match" href="out-of-flow-in-multicolumn-001-ref.html">
      4 
      5 <style>
      6  #multicol {
      7      column-count: 2;
      8      column-fill: auto;
      9      column-gap: 16px;
     10      column-rule:16px white solid;
     11      width: 100px;
     12      height: 40px;
     13      background: gray;
     14  }
     15 
     16  .abs {
     17      position: absolute;
     18      top: 0px;
     19      width: 100%;
     20      height: 20px;
     21      background: green;
     22  }
     23 
     24  .below-abs {
     25    height: 20px;
     26    background: red;
     27  }
     28 </style>
     29 <p>The abs element should be split equally into the two columns - no red!</p>
     30 <div id="container">
     31  <div id="multicol">
     32      <div style="width:100px; height:30px;"></div>
     33      <div style="position: relative;">
     34        <div class="below-abs"></div>
     35        <div class="abs"></div>
     36      </div>
     37  </div>
     38 </div>