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="creature">
    <div class="face">
      <div class="eye"></div>
      <div class="eye"></div>
      <div class="mouth"></div>
    </div>
  </div>
</body>
</html>
 
.creature {
  width: 100px;
  height: 100px;
  background: blue;
  border-radius: 50%;
  position: relative;
}
.face {
  /* background: white; */
  height: 30px;
  width: 50px;
  position: absolute;
  left: 50%;
  margin-left: -25px;
  top: 20%;
  
}
.eye {
  display: inline-block;
  width: 10px;
  height: 15px;
  margin: 0 5px 5px;
  /* background: rgba(0,0,0,.9); */
  background: black;
  border-radius: 10px;
  border-radius: 50%;
}
.mouth {
  margin-top: 5px;
  display: block;
  width: 100%;
  background: black;
  height: 5px;
  border-radius: 5x 5px 5px 5px;
  -webkit-animation: yawn 30s infinite;
}
Output

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

Dismiss x
public
Bin info
arjunvenkatpro
0viewers