tor-browser

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

grid-gap-decorations-001.html (1054B)


      1 <!DOCTYPE html>
      2 <title>
      3  CSS Gap Decorations: column and row gaps are painted.
      4 </title>
      5 <link rel="help" href="https://drafts.csswg.org/css-gaps-1/">
      6 <link rel="match" href="../../reference/ref-filled-green-100px-square.xht">
      7 <link rel="author" title="Sam Davis Omekara Jr." href="mailto:samomekarajr@microsoft.com">
      8 <style>
      9  .grid-container {
     10    display: grid;
     11    grid-template-columns: repeat(3, 1fr);
     12    column-gap: 10px;
     13    row-gap: 10px;
     14    height: 100px;
     15    width: 100px;
     16    background: red;
     17    column-rule-color: green;
     18    column-rule-style: solid;
     19    column-rule-width: 10px;
     20    row-rule-color: green;
     21    row-rule-style: solid;
     22    row-rule-width: 10px;
     23  }
     24 
     25  .grid-item {
     26    background: green;
     27  }
     28 </style>
     29 <p>Test passes if there is a filled green square and <strong>no red</strong>.</p>
     30 <div class="grid-container">
     31    <div class="grid-item"></div>
     32    <div class="grid-item"></div>
     33    <div class="grid-item"></div>
     34    <div class="grid-item"></div>
     35    <div class="grid-item"></div>
     36    <div class="grid-item"></div>
     37 </div>