tor-browser

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

flexbox_flex-natural-mixed-basis-auto.html (872B)


      1 <!DOCTYPE html>
      2 <title>flexbox | flex: larger integer, mixed basis, auto</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/#flex-basis-property">
      6 <link rel="match" href="flexbox_flex-natural-mixed-basis-auto-ref.html">
      7 <link rel="flags" content="ahem">
      8 <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
      9 <style>
     10 div {
     11 font-family: ahem;
     12 background: blue;
     13 height: 8em;
     14 width: 35em;
     15 
     16 display: flex;
     17 }
     18 span {
     19 font-family: ahem;
     20 background: white;
     21 
     22 flex: 1 1 auto;
     23 }
     24 span:nth-child(1) {
     25 flex: 1 1 0%;
     26 }
     27 span:nth-child(1) {background: yellow;}
     28 span:nth-child(2) {background: pink;}
     29 span:nth-child(3) {background: lightblue;}
     30 span:nth-child(4) {background: grey;}
     31 </style>
     32 
     33 <div>
     34 <span>a</span>
     35 <span>aaa</span>
     36 <span>aaaaa</span>
     37 <span>aaaaaaaaaaaaaaa</span>
     38 </div>