tor-browser

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

row-item-minmax-img-002.html (957B)


      1 <!DOCTYPE html>
      2 <meta charset="utf-8">
      3 <title>Test how images are stretched with different align/justify flags.</title>
      4 <link rel="author" href="mailto:almaher@microsoft.com">
      5 <link rel="help" href="https://drafts.csswg.org/css-grid-2/#algo-stretch">
      6 <link rel="help" href="https://drafts.csswg.org/css-grid-2/#algo-single-span-items">
      7 <link rel="match" href="row-item-minmax-img-002-ref.html">
      8 <style>
      9 .grid-lanes {
     10    display: inline-grid-lanes;
     11    grid-lanes-direction: row;
     12    grid-template-rows: minmax(auto, 0);
     13    border: 5px solid goldenrod;
     14 }
     15 .spacer{
     16    height: 10px;
     17 }
     18 img {
     19    border: 2px solid indigo;
     20 }
     21 .stretch {
     22    align-self: stretch;
     23    justify-self: stretch;
     24 }
     25 .start {
     26    align-self: start;
     27    justify-self: start;
     28 }
     29 </style>
     30 <div class="grid-lanes">
     31  <img class="stretch" src="support/100x100-green.png">
     32 </div>
     33 <div class="spacer"></div>
     34 <div class="grid-lanes">
     35  <img class="start" src="support/100x100-green.png">
     36 </div>