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 id="camera">
  <div id="stub1"></div>
  <div id="box-X"></div>
  </div>
</body>
</html>
 
#camera{
  -webkit-perspective:1000px;
}
#box-X{
  -webkit-transform-style:preserve-3d;
  width:100px;
  height:100px;
  border:2px solid red;
  position:absolute;
  top:40px;
  left:40px;
  background-color:rgba(50,50,50,0.5);
  -webkit-transition:all 0.5s;
 -webkit-transform:rotateX(85deg);
}
#stub1{
  position:absolute;
  top:40px;
  left:40px;
  width:200px;
  height:200px;
  border:1px solid black;
  background-color:rgba(50,50,50,0.5);
 -webkit-transform:rotateX(85deg);
}
#box-X:hover{
  -webkit-transform:rotateX(85deg)   translate3d(100px,50px,-50px);
}
Output

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

Dismiss x
public
Bin info
JArpitpro
0viewers