tor-browser

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

grid-gap-006-ref.html (771B)


      1 <!DOCTYPE HTML>
      2 <html><head>
      3  <meta charset="utf-8">
      4  <title>Reference: nested subgrid, justify-content:space-around, overflowing</title>
      5  <link rel="author" title="Mats Palmgren" href="mailto:mats@mozilla.com">
      6  <link rel="stylesheet" type="text/css" href="/fonts/ahem.css">
      7 <style>
      8 html,body {
      9  color:black; background-color:white; font:24px/1 Ahem; padding:0; margin:0;
     10 }
     11 
     12 body { margin:200px; }
     13 span { background:cyan; }
     14 span:nth-child(2n+1) { background:grey; }
     15 </style>
     16 </head>
     17 <body>
     18 
     19 <div style="display:inline-grid; grid:100px/100px 10px 10px; gap:100px; border:1px solid; justify-content:start; width:50px">
     20  <div style="display:grid; grid:100px/140px 50px; gap:20px; grid-column:span 2">
     21    <span>a</span><span>b</span>
     22  </div>
     23 </div>
     24 
     25 </body>
     26 </html>