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>
  <link href="http://fonts.googleapis.com/css?family=Pacifico" rel="stylesheet" type="text/css">
</head>
<body>
  <div>
    <p>hello there</p>
  </div>
</body>
</html>
 
body { background: #333; }
div {
  position: absolute;
  top: 46px; /* height minus box-shadow */
  width: 140px;
  height: 50px;
  background: steelblue;
  background-image: linear-gradient(to left, steelblue, rgba(255,255,255,0.5), steelblue);
  background-size: 20px 100%;
  background-repeat: no-repeat;
  background-position: 125px;
  transform: rotate(-90deg);
  border: 1px dashed black;
  border-width: 1px 0 1px 1px;
  box-shadow: 0 0 0 4px steelblue;
}
div:before {
  position: absolute;
  top: 8px;
  left: -21px;
  display: block;
  content: ' ';
  width: 33px;
  height: 33px;
  background: steelblue;
  transform: rotate(45deg);
  border: 1px dashed black;
  box-shadow: 0 0 0 4px steelblue;
  border-width: 0 0 1px 1px;
}
p {
  position: absolute;
  color: rgba(255,255,255,0.9);
  font: 1.5em Pacifico;
  line-height: 0.3em;
}
Output

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

Dismiss x
public
Bin info
stephenhaypro
0viewers