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 class="box1"></div>
  
  <div class="box2"></div>
  
  <div class="box3"></div>
  
  <div class="box4"></div>
</body>
</html>
 
.box1 {
    width: 100px;
    height: 100px;
    background: blue;
}
.box2 {
    width: 100px;
    height: 100px;
    background: green;
    border: yellow solid;
    position: relative;
    left: 20px;
    top:  20px;
}
.box3 {
    width: 100px;
    height: 100px;
    background: red;
}
.box4 {
    width: 100px;
    height: 100px;
    background: pink;
}
Output 300px

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

Dismiss x
public
Bin info
anonymouspro
0viewers