Skip welcome & menu and move to editor
Welcome to JS Bin
Load cached copy from
 
<!DOCTYPE html>
<html>
<head>
<meta charset=utf-8 />
<title>Simple Flexbox Direction Example</title>
<style>
  ul {
    width: 400px;
    border: 1px solid purple;
    padding: 2px;
    /* Old Syntax */
    display: -webkit-box;
    -webkit-box-orient: vertical;
  
    /* New Syntax */
    display: -webkit-flexbox;
    -webkit-flex-direction: column;
  }
  
  ul li {
    border: 1px solid green;
    margin-right: 50px;
    display: block;
  }
  
  
</style>
</head>
<body>
  
  <ul>
    <li>An item</li>
    <li>Another item</li>
    <li>The last item</li>
  </ul>
  
</body>
</html>
Output

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

Dismiss x
public
Bin info
anonymouspro
0viewers