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>
  <section>
    <div><span>sdf</span></div>
    <div><span>sdf</span></div> 
    <div><span>sdf</span></div>
    <div><span>sdf</span></div>
  </section>
</body>
</html>
 
section {
  display: flex;
  justify-content: space-between;
  position: relative;
}
section:before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 2px;
  background: black;
  margin-top: -1px;
  z-index: -1;
}
div {
  width: 50px;
  height: 50px;
  background: tomato;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
span {
  margin-top: 100px
}
Output 300px

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

Dismiss x
public
Bin info
anonymouspro
0viewers