tor-browser

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

grid-layout-basic-ref.html (791B)


      1 <!DOCTYPE html>
      2 <html>
      3  <head>
      4    <title>CSS Grid Layout Reference</title>
      5    <link rel="author" title="Leo Deng" href="mailto:myst.dg@gmail.com">
      6    <style>
      7      body {
      8        margin: 0;
      9        padding: 0;
     10        border: 0 none;
     11      }
     12      #caseTitle {
     13        margin: 10px;
     14        height: 40px;
     15      }
     16      #grid {
     17        margin: 0;
     18        width: 150px;
     19      }
     20      .a {
     21        background: blue;
     22        width: 100px;
     23        float:left
     24      }
     25      .b {
     26        background: yellow;
     27        width: 50px;
     28        float:left;
     29      }
     30    </style>
     31  </head>
     32  <body>
     33    <p id="caseTitle">The test passes if it has the same visual effect as reference.</p>
     34    <div id="grid">
     35      <div class="a">&nbsp;</div>
     36      <div class="b">&nbsp;</div>
     37    </div>
     38  </body>
     39 </html>