tor-browser

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

flexbox_flex-1-0-N-shrink-ref.html (567B)


      1 <!DOCTYPE html>
      2 <title>flexbox | flex: 1 0 N | shrinking</title>
      3 <link rel="author" href="http://opera.com" title="Opera Software">
      4 <style>
      5 div {
      6 white-space: nowrap;
      7 background: blue;
      8 margin: 1em 0;
      9 border: 1px solid black;
     10 height: 8em;
     11 width: 12em;
     12 }
     13 span {
     14 background: yellow;
     15 margin: 1em 0;
     16 width: 4em;
     17 height: 6em;
     18 display: inline-block;
     19 }
     20 span:nth-child(2) {background: pink;}
     21 span:nth-child(3) {background: lightblue;}
     22 span:nth-child(4) {background: grey;}
     23 </style>
     24 
     25 <div>
     26 <span>one</span><span>two</span><span>three</span><span>four</span>
     27 </div>