tor-browser

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

flex-gap-decorations-031.html (1209B)


      1 <!DOCTYPE html>
      2 <title>
      3    CSS Gap Decorations: flex column and row gaps are painted with rule break intersection and orthogonal items.
      4 </title>
      5 <link rel="help" href="https://drafts.csswg.org/css-gaps-1/">
      6 <link rel="match" href="flex-gap-decorations-031-ref.html">
      7 <link rel="author" title="Javier Contreras" href="mailto:javiercon@microsoft.com">
      8 <style>
      9    body {
     10        margin: 0px;
     11    }
     12 
     13    #flexbox>* {
     14        background-color: rgb(96 139 168 / 0.2);
     15    }
     16 
     17    #flexbox {
     18        display: flex;
     19        column-gap: 10px;
     20        column-rule: 10px solid red;
     21        column-rule-break: intersection;
     22        column-rule-inset: 0;
     23        row-gap: 30px;
     24        row-rule: 30px solid blue;
     25        row-rule-break: intersection;
     26        row-rule-inset: 0;
     27        height: 130px;
     28        width: 230px;
     29        flex-wrap: wrap;
     30        align-content: center;
     31    }
     32 
     33    .items {
     34        width: 70px;
     35        height: 50px;
     36        writing-mode: vertical-rl;
     37    }
     38 </style>
     39 
     40 <div id="flexbox">
     41    <div class="items">One</div>
     42    <div class="items">Two</div>
     43    <div class="items">Three</div>
     44    <div class="items">Four</div>
     45    <div class="items">Five</div>
     46    <div class="items">Six</div>
     47 </div>