案例:CSS3 案例     状态:可编辑再运行    进入竖版
 运行结果 
x
 
1
<!DOCTYPE html>
2
<html>
3
<head>
4
<style> 
5
div
6
{
7
margin:30px;
8
width:200px;
9
height:100px;
10
background-color:yellow;
11
/* Rotate div */
12
transform:rotate(9deg);
13
-ms-transform:rotate(9deg); /* Internet Explorer */
14
-moz-transform:rotate(9deg); /* Firefox */
15
-webkit-transform:rotate(9deg); /* Safari 和 Chrome */
16
-o-transform:rotate(9deg); /* Opera */
17
}
18
</style>
19
</head>
20
<body>
21
22
<div>Hello w3Xue.com</div>
23
24
</body>
25
</html>