Skip welcome & menu and move to editor
Welcome to JS Bin
Load cached copy from
 
<!DOCTYPE html>
<html>
  <meta charset="utf-8">
  <title>JS Bin</title>
  <script src="//code.jquery.com/jquery-2.1.1.min.js"></script>
</head>
<body>
  <div>
    <input type="text" maxlength="1">
    <input type="text" maxlength="1">
    <input type="text" maxlength="1">
  </div>
  <span>-</span>
  <div>
    <input type="text" maxlength="1">
    <input type="text" maxlength="1">
    <input type="text" maxlength="1">
  </div>
</body>
</html>
 
div > input:last-child {
  border-right: 1px solid #dcdcdc;
  border-radius: 0 4px 4px 0;
}
div > input:first-child {
  border-radius: 4px 0 0 4px;
}
input {
  display: block;
  float: left;
  width: 20px;
  padding: 10px 5px;
  font-size: 20px;
  border: 1px solid #dcdcdc;
  border-right: none;
  text-align: center;
}
span {
  font-size: 24px;
  vertical-align: 16px;
} 
div {
  display: inline-block;
  clear: both;
  
}
Output

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

Dismiss x
public
Bin info
anonymouspro
0viewers