tor-browser

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

position-visibility-remove-no-overflow-ref.html (471B)


      1 <!DOCTYPE html>
      2 <meta charset="utf-8">
      3 <style>
      4  #container {
      5    position: relative;
      6    width: 400px;
      7    height: 150px;
      8  }
      9 
     10  .anchor {
     11    width: 100px;
     12    height: 100px;
     13    background: orange;
     14    display: inline-block;
     15  }
     16 
     17  .target {
     18    position: absolute;
     19    width: 100px;
     20    height: 100px;
     21    background: green;
     22    top: 50px;
     23    left: 0;
     24  }
     25 </style>
     26 
     27 <div id="container">
     28  <div class="anchor">anchor1</div>
     29  <div class="target">target1</div>
     30 </div>