tor-browser

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

justify-content-003.htm (1493B)


      1 <!DOCTYPE html PUBLIC "-//W3C//DTD//XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
      2 <html xmlns="http://www.w3.org/1999/xhtml">
      3    <head>
      4        <title>CSS Test: A flex container with the 'justify-content' property set to 'flex-end'</title>
      5        <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
      6        <link rel="help" href="http://www.w3.org/TR/css-flexbox-1/#justify-content-property" />
      7        <link rel="match" href="reference/justify-content-001-ref.html">
      8        <meta name="flags" content="image">
      9        <meta name="assert" content="This test checks that the flex container with 'justify-content: flex-end' packs flex items toward the end of the main axis of each line." />
     10        <style type="text/css">
     11            #flexbox
     12            {
     13                background: linear-gradient(to right, blue 0, blue 150px, red 150px, red 300px);
     14                display: flex;
     15                justify-content: flex-end;
     16                height: 100px;
     17                width: 300px;
     18            }
     19            div div
     20            {
     21                background-color: orange;
     22                width: 75px;
     23            }
     24        </style>
     25    </head>
     26    <body>
     27        <p>Test passes if there is a single blue rectangle on the left, a single orange rectangle directly to its right, and there is no red visible on the page.</p>
     28        <div id="flexbox">
     29            <div></div>
     30            <div></div>
     31        </div>
     32    </body>
     33 </html>