Skip welcome & menu and move to editor
Welcome to JS Bin
Load cached copy from
 
<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <title>JS Bin</title>
  <style>
    .container {
      width: 300px;
      height: 150px;
      padding: 20px;
      font-size: 0px;
      background: lightblue;
    }
    .inline-block {
      width: 20%;
      height: 50px;
      margin: 0px;
      padding: 0px;
      display: inline-block;
      font-size: 16px;
      background: pink;
    }
  </style>
</head>
<body>
  <div class="container">
    <div class="inline-block">hello</div>
    <div class="inline-block">hello</div>
  </div>
</body>
</html>
Output 300px

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

Dismiss x
public
Bin info
angelazoupro
0viewers