tor-browser

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

grid-gap-decorations-003.html (923B)


      1 <!DOCTYPE html>
      2 <title>
      3  CSS Gap Decorations: grid column gaps are painted with dotted styling.
      4 </title>
      5 <link rel="help" href="https://drafts.csswg.org/css-gaps-1/">
      6 <link rel="match" href="grid-gap-decorations-003-ref.html">
      7 <link rel="author" title="Sam Davis Omekara Jr." href="mailto:samomekarajr@microsoft.com">
      8 <style>
      9 
     10  body {
     11    margin: 0px;
     12  }
     13 
     14  .grid-container {
     15    height: 110px;
     16    width: 110px;
     17 
     18    display: grid;
     19    grid-template-columns: repeat(2, 1fr);
     20 
     21    column-gap: 10px;
     22    row-gap: 10px;
     23 
     24    column-rule-color: pink;
     25    column-rule-style: dotted;
     26    column-rule-width: 10px;
     27 
     28    row-rule-color: green;
     29    row-rule-style: dotted;
     30    row-rule-width: 10px;
     31  }
     32 
     33  .grid-item {
     34    background: skyblue;
     35  }
     36 </style>
     37 <div class="grid-container">
     38    <div class="grid-item"></div>
     39    <div class="grid-item"></div>
     40    <div class="grid-item"></div>
     41    <div class="grid-item"></div>
     42 </div>