<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>无标题文档</title>
<style>
.a
{
300px;
height:200px;
background-color:#3F0;}
.b
{
300px;
height:200px;
background-color:#3F0;
transform:rotate(30deg);
margin:50px;
}
.c
{
300px;
height:200px;
background-color:#3F0;
transform:rotate(90deg);
margin:80px;
}
</style>
</head>
<body style="font-size:24px; color:#60F;">
<div class="a">这是正常的div</div>
<div class="b">这个是进行了30度转动的div</div>
<div class="c">这个是进行了90度转动的div</div>
</body>
</html>