<html>
<head>
<title>CSS Transforms: Comparing rotateX rotateY rotateZ</title>
<link rel="stylesheet" href="/shared/netdemos.css">
<style type="text/css">
<!--
.box {
width: 300; margin: 10; padding: 10; cursor: hand;
transition: 1.8s ease-in-out;
}
#img1:hover {
transform: rotateX( 360deg );
}
#img2:hover {
transform: rotateY( 360deg );
}
#img3:hover {
transform: rotateZ( 360deg );
}
.label { width: 200px; background-color: khaki;
border: 1px inset; border-radius: 10px }
-->
</style>
</head>
<body>
<div class="header"><h2>Abakada CSS Demo: Comparing <b>rotateX</b> <b>rotateY</b> <b>rotateZ</b></h2></div>
<hr size=1 width=92%>
<center>
<h4>This example shows the difference between <b>rotateX</b>( ), <b>rotateY</b>( ), and <b>rotateZ</b>( ) when applied to a 2D object.<br>
Move the mouse over to see the effect. Move the mouse out to reset.</h4>
<table>
<tr align="center">
<td><img class="box" id="img1" src="/shared/images/earth.png"></td>
<td><img class="box" id="img2" src="/shared/images/earth.png"></td>
<td><img class="box" id="img3" src="/shared/images/earth.png"></td>
</tr>
<tr align="center">
<td><div class="label">rotateX( 360deg )</div></td>
<td><div class="label">rotateY( 360deg )</div></td>
<td><div class="label">rotateZ( 360deg )</div></td>
</tr>
</table>
</center>
<hr size=1 width=92%>
<!-- #include virtual="~/shared/viewsrc.inc" -->
</body>
</html>