tor-browser

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

grid-gap-decorations-025.html (1171B)


      1 <!DOCTYPE html>
      2 <title>
      3  CSS Gap Decorations: Grid column gaps are painted with default :visited styles when multiple colors are used.
      4 </title>
      5 <link rel="help" href="https://drafts.csswg.org/css-gaps-1/">
      6 <link rel="match" href="grid-gap-decorations-025-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  .grid-container {
     13    display: grid;
     14    grid-gap: 10px;
     15    grid-template-columns: 100px 100px 100px;
     16    height: 320px;
     17 
     18    column-rule-color: blue;
     19    column-rule-style: solid;
     20    column-rule-width: 5px;
     21 
     22    row-rule-color: red;
     23    row-rule-style: solid;
     24    row-rule-width: 5px;
     25 
     26  }
     27  .item {
     28    background: gray;
     29    opacity: 0.5;
     30  }
     31  .grid-link:visited .grid-container {
     32    column-rule-color: red lime blue;
     33  }
     34 </style>
     35 <a href="" class="grid-link">
     36  <div class="grid-container">
     37    <div class="item"></div>
     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>
     47 </a>