tor-browser

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

position-absolute-containing-block-002-ref.html (463B)


      1 <!doctype html>
      2 <title>CSS Test Reference</title>
      3 <meta charset="utf-8">
      4 <link rel="author" title="Emilio Cobos Álvarez" href="mailto:emilio@crisal.io">
      5 <style>
      6 .parent {
      7  position: fixed;
      8  top: 0;
      9  left: 0;
     10  display: block;
     11  width: 200px;
     12  height: 200px;
     13  background: yellow;
     14 }
     15 
     16 .child {
     17  position: absolute;
     18  left: 60px;
     19  top: 60px;
     20  width: 100px;
     21  height: 100px;
     22  background: green;
     23 }
     24 </style>
     25 <div class="parent"><div class="child"></div></div>