tor-browser

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

grid-abspos-staticpos-align-self-flex-end-large-border-padding.html (795B)


      1 <!DOCTYPE html>
      2 <html>
      3 <head>
      4 <link rel="help" href="https://drafts.csswg.org/css-align-3/#align-abspos">
      5 <link rel="help" href="https://www.w3.org/TR/css-position-3/#staticpos-rect">
      6 <link rel="match" href="grid-abspos-staticpos-align-self-flex-end-large-border-padding-ref.html">
      7 <meta name="assert" content="Abspos child of grid is aligned to end of grid content box when statically positioned and end self alignment.">
      8 <style>
      9 .grid {
     10  display: grid;
     11  padding: 13px;
     12  padding-bottom: 42px;
     13  border: 23px solid black;
     14  border-bottom-width: 45px;
     15  width: 100px;
     16  height: 100px;
     17 }
     18 .abspos {
     19  position: absolute;
     20  width: 50px;
     21  height: 50px;
     22  background-color: green;
     23  align-self: end;
     24 }
     25 </style>
     26 </head>
     27 <body>
     28 <div class="grid">
     29  <div class="abspos"></div>
     30 </div>
     31 </body>
     32 </html>