tor-browser

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

flex-align-content-center-ref.html (776B)


      1 <!DOCTYPE html>
      2 <html>
      3 <head>
      4    <title>CSS Flexible Box Test: align-content property - center</title>
      5    <link rel="author" title="haosdent" href="mailto:haosdent@gmail.com">
      6    <style type="text/css">
      7        .container {
      8 position: relative;
      9 height: 6em;
     10 width: 20em;
     11 background: red;
     12 margin: 1em;
     13 border: 1px solid black;
     14        }
     15 span:nth-child(3), span:nth-child(4) {
     16 margin: 2em 1em;
     17 }
     18 span {
     19 height: 2em;
     20 display: inline-block;
     21 background: green;
     22 color: white;
     23 margin: 0 1em;
     24 width: 8em;
     25 float: left;
     26 }
     27    </style>
     28 </head>
     29 <body>
     30    <p>The test passed if you see a centered 2*2 table.</p>
     31    <div class="container">
     32      <span>first</span>
     33      <span>second</span>
     34      <span>third</span>
     35      <span>forth</span>
     36    </div>
     37 </body>
     38 </html>