tor-browser

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

grid-gap-decorations-040.html (996B)


      1 <!DOCTYPE html>
      2 <title>
      3    CSS Gap Decorations: *rule-break properly adheres to spanning-item when repeater tracks are used.
      4 </title>
      5 <link rel="help" href="https://drafts.csswg.org/css-gaps-1/#break">
      6 <link rel="match" href="grid-gap-decorations-040-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-template-columns: repeat(4, 100px);
     15        grid-template-rows: repeat(4, 100px);
     16        gap: 10px;
     17 
     18        width: 430px;
     19        height: 430px;
     20 
     21        column-rule: 5px solid blue;
     22        row-rule: 5px solid red;
     23    }
     24 
     25    .grid-item {
     26        background-color: gray;
     27        opacity: 0.5;
     28        border: 1px solid #000;
     29    }
     30 
     31 </style>
     32 <div class="grid-container">
     33    <div class="grid-item" style="grid-column: 1 / 3; grid-row: 1 / 3;"></div>
     34    <div class="grid-item" style="grid-column: 3 / 4; grid-row: 1 / 3;"></div>
     35 </div>