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>
  
</div>
</body>
</html>
 
html,body {
  background: #ccf;
}
div {
  position: relative;
  background: #ccf;
  height: 50px;
  border-bottom: 1px dashed #f88;
}
div:before {
  position: absolute;
  background: #ccf;
  bottom: -2px;
  left: 50%;
  margin-left: -50px;
  content: '';
  display: block;
  width: 100px;
  height: 20px;
  z-index: 0;
  
}
div:after {
  position: absolute;
  background: #ccf;
  left: 50%;
  margin-left: -50px;
  content: '';
  display: block;
  border: 1px dashed #f88;
  width: 100px;
  height: 80px;
  border-radius: 50%;
  z-index: -5;
}
Output 300px

This bin was created anonymously and its free preview time has expired (learn why). — Get a free unrestricted account

Dismiss x
public
Bin info
anonymouspro
0viewers