tor-browser

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

flexbox_justifycontent-spacebetween-negative.html (770B)


      1 <!DOCTYPE html>
      2 <title>flexbox | justify-content: space-between / negative</title>
      3 <link rel="author" href="http://opera.com" title="Opera Software">
      4 <link rel="help"
      5 href="http://www.w3.org/TR/css-flexbox-1/#justify-content-property">
      6 <link rel="match" href="flexbox_justifycontent-spacebetween-negative-ref.html">
      7 <style>
      8 div {
      9 background: blue;
     10 margin: 1em 0;
     11 border: 1px solid black;
     12 height: 8em;
     13 width: 17em;
     14 
     15 display: flex;
     16 justify-content: space-between;
     17 }
     18 span {
     19 background: white;
     20 margin: 1em;
     21 width: 4em;
     22 display: inline-block;
     23 
     24 flex: 0 0 auto;
     25 }
     26 span:nth-child(1) {background: yellow;}
     27 span:nth-child(2) {background: pink;}
     28 span:nth-child(3) {background: lightblue;}
     29 </style>
     30 
     31 <div>
     32 <span>one</span>
     33 <span>two</span>
     34 <span>three</span>
     35 </div>