tor-browser

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

flexbox_align-items-center-3.html (649B)


      1 <!DOCTYPE html>
      2 <link rel="help" href="https://drafts.csswg.org/css-align-3/#align-flex">
      3 <link rel="match" href="../reference/ref-filled-green-100px-square-only.html">
      4 <meta name="assert" content="This checks that an orthogonal flex-item with center alignment doesn't stretch.">
      5 <p>Test passes if there is a filled green square.</p>
      6 <style>
      7 .container {
      8  margin-left: -50px;
      9  width: 200px;
     10  display: flex;
     11  flex-direction: column;
     12  align-items: center;
     13 }
     14 
     15 .child {
     16  writing-mode: vertical-rl;
     17  height: 100px;
     18  background: green;
     19 }
     20 </style>
     21 <div class="container">
     22  <div class="child">
     23    <div style="width: 100px;"></div>
     24  </div>
     25 </div>