tor-browser

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

css-box-justify-content.html (1215B)


      1 <!DOCTYPE html>
      2 <title>flexbox |css-box-justify-content</title>
      3 <link rel="author" href="mailto:ava656094@gmail.com" title="xiaoxia">
      4 <link rel="help" href="http://www.w3.org/TR/css-flexbox-1/#justify-content-property">
      5 <link rel="help" href="http://www.w3.org/TR/css-flexbox-1/#flex-flow-property">
      6 <link rel="match" href="reference/css-box-justify-content-ref.html">
      7 <style>
      8 #flexbox {
      9 background: green;
     10 width: 300px;
     11 height: 40px;
     12    display: flex;
     13 flex-flow: row;
     14 justify-content: flex-end;
     15 }
     16 .item{
     17 width:50px;
     18 height: 30px;
     19 }
     20 </style>
     21 
     22 <p>This test passes if the DIV5's position in the end and the div is Horizontal layout</p>
     23 <div id="flexbox">
     24 <div class="item" style="background-color: rgb(242, 210, 80); color: rgb(41, 119, 248);">DIV1</div>
     25    &nbsp;
     26 <div class="item" style="background-color: rgb(110, 8, 7); color: rgb(162, 152, 22);">DIV2</div>
     27    &nbsp;
     28 <div class="item" style="background-color: rgb(215, 172, 243); color: rgb(74, 123, 110);">DIV3</div>
     29    &nbsp;
     30 <div class="item" style="background-color: rgb(242, 133, 80); color: rgb(41, 119, 248);">DIV4</div>
     31    &nbsp;
     32 <div class="item" style="background-color: rgb(242, 50, 80); color: rgb(41, 119, 248);">DIV5</div>
     33 </div>