tor-browser

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

grid-gap-decorations-032.html (970B)


      1 <!DOCTYPE html>
      2 <title>
      3  CSS Gap Decorations: Gaps are painted when rows are dynamically added and overflow container.
      4 </title>
      5 <link rel="help" href="https://drafts.csswg.org/css-gaps-1/">
      6 <link rel="match" href="grid-gap-decorations-032-ref.html">
      7 <link rel="author" title="Sam Davis Omekara Jr." href="mailto:samomekarajr@microsoft.com">
      8 <style>
      9  body {
     10    margin: 0px;
     11    overflow: hidden;
     12  }
     13 
     14  .grid-container {
     15    display: grid;
     16    grid-gap: 10px;
     17    grid-template-columns: 100px 100px 100px;
     18    grid-template-rows: 100px;
     19    width: 120px;
     20    height: 120px;
     21 
     22    column-rule-color: blue;
     23    column-rule-style: solid;
     24    column-rule-width: 10px;
     25  }
     26 
     27 </style>
     28 
     29 <body>
     30  <div class="grid-container"></div>
     31 <script>
     32  const grid = document.querySelector('.grid-container');
     33  grid.style.gridTemplateRows = 'repeat(6, 100px)';
     34 
     35  grid.style.rowRuleColor =  'red';
     36  grid.style.rowRuleStyle = 'solid';
     37  grid.style.rowRuleWidth = '5px';
     38 </script>
     39 </body>