tor-browser

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

flexbox_justifycontent-spacearound-negative.html (766B)


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