tor-browser

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

grid-gap-decorations-057.html (1016B)


      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 `around` and `*rule-break` is `spanning-item`.
      5 </title>
      6 <link rel="help" href="https://www.w3.org/TR/css-gaps-1/">
      7 <link rel="match" href="grid-gap-decorations-057-ref.html">
      8 <link rel="author" title="Sam Davis Omekara Jr." href="mailto:samomekarajr@microsoft.com">
      9 <style>
     10  body {
     11    margin: 0px;
     12  }
     13  .grid {
     14    display: grid;
     15    grid-template: repeat(3, 100px) / repeat(3, 100px);
     16    gap: 20px;
     17    row-rule: 6px solid red;
     18    column-rule: 6px solid blue;
     19 
     20    column-rule-visibility-items: around;
     21    row-rule-visibility-items: around;
     22  }
     23  .item {
     24    width: 100%;
     25    height: 100%;
     26    background: lightgray;
     27    opacity: 0.8;
     28  }
     29 </style>
     30 <div class="grid">
     31  <div class="item" style="grid-area: 1 / 1 / 2 / 3"></div>
     32  <div class="item" style="grid-area: 1 / 3 / 4 / 4"></div>
     33  <div class="item" style="grid-area: 2 / 1 / 3 / 2"></div>
     34 </div>