tor-browser

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

grid-gap-005.html (779B)


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