tor-browser

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

grid-gap-decorations-029.html (1092B)


      1 <!DOCTYPE html>
      2 <title>
      3  CSS Gap Decorations: Gaps are painted when items overflow container.
      4 </title>
      5 <link rel="help" href="https://drafts.csswg.org/css-gaps-1/">
      6 <link rel="match" href="grid-gap-decorations-029-ref.html">
      7 <link rel="author" title="Sam Davis Omekara Jr." href="mailto:samomekarajr@microsoft.com">
      8 <style>
      9  body {
     10    margin: 0px;
     11  }
     12 
     13  .grid-container {
     14    display: grid;
     15    grid-gap: 10px;
     16    grid-template-columns: 100px 100px 100px;
     17    grid-template-rows: 100px 100px 100px;
     18    width: 120px;
     19    height: 120px;
     20 
     21    column-rule-color: blue;
     22    column-rule-style: solid;
     23    column-rule-width: 5px;
     24 
     25    row-rule-color: red;
     26    row-rule-style: solid;
     27    row-rule-width: 5px;
     28  }
     29 
     30  .item {
     31    background: gray;
     32    opacity: 0.5;
     33  }
     34 </style>
     35 
     36 <body>
     37  <div class="grid-container">
     38    <div class="item"></div>
     39    <div class="item"></div>
     40    <div class="item"></div>
     41    <div class="item"></div>
     42    <div class="item"></div>
     43    <div class="item"></div>
     44    <div class="item"></div>
     45    <div class="item"></div>
     46    <div class="item"></div>
     47  </div>
     48 </body>