Skip welcome & menu and move to editor
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 id=papa>
    <div id=cont>
      <div>some text</div>
      <a href="#">something else</a>
    </div>
    <div id=more>
          <div class=inside></div>
          <div class=inside></div>
          <div class=inside></div>
          <div class=inside></div>
          <div class=inside></div>
          <div class=inside></div>
          <div class=inside></div>
          <div class=inside></div>
    </div>
  </div>
</body>
</html>
 
#cont {
  border: 1px solid red;
  border-radius: 5px;
  box-shadow: 2px 2px 0 0;
  padding: 5px;
  
  display: flex;
  justify-content: space-between;
  align-items: center;
  /* flex-basis: 300px; */
}
#cont div {
  background-color: lime;
  line-height: 150px;
  padding: 5px;
}
#cont a {
  border: 1px solid gray;
  padding: 5px;
  border-radius: 20%;
  background-color: darkblue;
  color: white;
}
#cont a:hover {
    background-color: blue;
}
#more {
  border: 1px dashed gray;
  overflow: auto;
}
#papa {
  display: flex;
  flex-direction: column;
  height: 500px;
  border: 2px solid blue;
}
.inside {
  border: 1px solid red;
  height: 50px; margin: 30px;
  background-color: rgba(100,160,170,0.4);
}
Output

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

Dismiss x
public
Bin info
anonymouspro
0viewers