tor-browser

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

grid-gap-decorations-058.html (975B)


      1 <!DOCTYPE html>
      2 <title>
      3  CSS Gap Decorations: Grid gap segments are painted properly with empty areas. Tests
      4  scenario where `*rule-visibility-items` is `none`.
      5 </title>
      6 <link rel="help" href="https://www.w3.org/TR/css-gaps-1/">
      7 <link rel="match" href="grid-gap-decorations-058-ref.html">
      8 <link rel="author" title="Sam Davis Omekara Jr." href="mailto:samomekarajr@microsoft.com">
      9 
     10 <style>
     11  body {
     12    margin: 0px;
     13  }
     14  .grid {
     15    display: grid;
     16    grid-template: repeat(3, 100px) / repeat(3, 100px);
     17    gap: 20px;
     18    row-rule: 6px solid red;
     19    column-rule: 6px solid blue;
     20 
     21    column-rule-visibility-items: none;
     22    row-rule-visibility-items: none;
     23 
     24  }
     25  .item {
     26    width: 100%;
     27    height: 100%;
     28    background: lightgray;
     29    opacity: 0.8;
     30  }
     31 </style>
     32 <div class="grid">
     33  <div class="item" style="grid-area: 1 / 1 / 2 / 3"></div>
     34  <div class="item" style="grid-area: 1 / 3 / 4 / 4"></div>
     35  <div class="item" style="grid-area: 2 / 1 / 3 / 2"></div>
     36 </div>