We would like to know how to create css3 transform translate.
<!DOCTYPE html>
<html>
<head>
<style type='text/css'>
.deneme {<!--from w w w . j a v a 2s . c om-->
width: 50px;
height: 50px;
background-color: #06F;
color: #fff
}
#tasinan {
-moz-transform: translate(150px, 100px);
-ms-transform: translate(150px, 100px);
-o-transform: translate(150px, 100px);
-webkit-transform: translate(150px, 100px);
transform: translate(150px, 100px)
}
</style>
</head>
<body>
<div class="deneme">Abc</div>
<div class="deneme" id="tasinan">Def</div>
</body>
</html>
The code above is rendered as follows: