

CSS3 Examples
9. CSS3 rotateY example.
<!DOCTYPE html>
<html>
<head>
<title>Untitled Document</title>
<style>
#box{
width:150px;
height:100px;
font-size:26px;
background-color:#0CF;
border-radius:5px;
box-shadow:10px 10px 2px #999999;
text-align:center;
padding-top:20px;
text-shadow:2px 2px 2px #666666;
transform:rotateY(180deg);
-webkit-transform:rotateY(180deg);
-ms-transform:rotateY(180deg);
position:relative;
top:50px;
left:200px;
}
</style>
</head>
<body>
<div id="box">
3D rotation
</div>
</body>
</html>
Output :3D rotation