tor-browser

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

grid-gap-006.html (892B)


      1 <!DOCTYPE HTML>
      2 <html><head>
      3  <meta charset="utf-8">
      4  <title>CSS Grid Test: nested subgrid, justify-content:space-around, overflowing</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-006-ref.html">
      9 <style>
     10 html,body {
     11  color:black; background-color:white; font:24px/1 Ahem; padding:0; margin:0;
     12 }
     13 
     14 body { margin:200px; }
     15 span { background:cyan; }
     16 span:nth-child(2n+1) { background:grey; }
     17 </style>
     18 </head>
     19 <body>
     20 
     21 <div style="display:inline-grid; grid:100px/100px 10px 10px; gap:100px; border:1px solid; justify-content:space-around; width:50px">
     22  <div style="display:grid; grid:100px/subgrid; gap:20px; grid-column:span 2">
     23    <span>a</span><span>b</span>
     24  </div>
     25 </div>
     26 
     27 </body>
     28 </html>