blob: b5aa291f127ec560b058fccf5d80999e747c3876 [file] [log] [blame]
<!DOCTYPE HTML>
<style>
div {
width:100px;
height:100px;
margin:50px;
background-color:green;
}
#translatex {
-webkit-transform: translatex(60px);
}
#translatey {
-webkit-transform: translatey(35px);
}
#translatez {
-webkit-transform: perspective(500px) translatez(100px);
}
</style>
<div id="translatex">translate x</div>
<div id="translatey">translate y</div>
<div id="translatez">translate z</div>