Skip welcome & menu and move to editor
Welcome to JS Bin
Load cached copy from
 
<!DOCTYPE html>
<html>
  <head>
<script src="http://cdnjs.cloudflare.com/ajax/libs/prefixfree/1.0.7/prefixfree.min.js"></script>
    <meta charset=utf-8 />
    <title>Playground</title>
    <meta name="viewport" content="width=device-width,initial-scale=1" />
  </head>
  <body>
    <h1>Flexbox fluid grid, items on last row all split available space</h1>
    <p>Either add items to the list or change window width (or item width, or all of these) to see the effect. Flexbox does this out of the box. (Note Firefox has no <code>flex-wrap</code> support so it doesn't work there yet.)</p>
    <p>See <a href="http://twitter.com/heydonworks">@heydonworks</a>' <a href="http://www.heydonworks.com/article/tetris-the-power-of-css">article</a> on accomplishing similar feats without Flexbox.</p> <p>This demo brought to you by <a href="http://twitter.com/stephenhay">@stephenhay</a>, who really, really likes Flexbox.</p>
  <ul>
    <li>1</li>
    <li>2</li>
    <li>3</li>
    <li>4</li>
    <li>5</li>
    <li>6</li>
    <li>7</li>
    <li>8</li>
</ul>  
  </body>
</html>
Output 300px

You can jump to the latest bin by adding /latest to your URL

Dismiss x
public
Bin info
stephenhaypro
0viewers