webkit内核的浏览器:-webkit-transform
firefox浏览器:moz-transform
示例:
<!DOCTYPE HTML>
<html>
<head>
<title> New Document </title>
<meta charset="gb18030">
<style type="text/css">
div#transform {
width:50%;
height:100px;
margin-left:25%;
margin-top:25%;
position:absolute;
color:white;
background-color:#F37D31;
display:block;
-webkit-transform:rotate(-10deg);
moz-transform:rotate(-10deg);
}
</style>
</head>
<body>
<div id="transform">
CSS3实现旋转。。。
</div>
</body>
</html>
效果: