Welcome to JS Bin
Load cached copy from
 
<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width">
  <title>JS Bin</title>
</head>
<body>
  <div class="wrapper">
    <ul>
      <li>a</li>
      <li>b</li>
      <li>c</li>
      <li><input type="text"></li>
    </ul>
  </div>
</body>
</html>
 
* {
  padding: 0;
  margin: 0;
}
ul,
li {
  list-style: none;
}
ul {
  display: flex;
  width: 500px;
  flex-wrap: wrap;
}
li:not(:last-child) {
  width: 50px;
}
li:last-child {
  flex-grow: 1;
  flex-shrink: 0;
}
li:last-child input {
  width: 100%;
  min-width: 300px;
}
Output

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

Dismiss x