tor-browser

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

flexbox_flex-0-N-auto-shrink-ref.html (534B)


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