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>
</head>
<body>
  <div style="background-color:black;width:200px;height:100px">
     <div style="background-color:black;left:2;top:2;bottom:2;right:2;">
       <div style="background-color:white;height:100%;left:0;right:45%">
          <div style="background-color:black;display:table;height:100%;width:100%;">
            Content
          </div>
        </div>
    </div>
  </div>
  <div style="background-color:gray;width:200px;height:100px;top:100px;">
     <div style="background-color:gray;left:2;top:2;bottom:2;right:2;">
       <div style="background-color:white;height:100%;left:0;right:45%">
         <div style="background-color:gray;height:100%;width:100%;">
            Content
          </div>
        </div>
    </div>
  </div>
</body>
</html>
 
div {position:absolute;left:0;right:0;top:0;bottom:0;overflow:hidden;}
Output

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

Dismiss x
public
Bin info
anonymouspro
0viewers