| 
 div旋转角度 
发布时间:2016年2月15日 作者:未知 查看次数:1767 
div旋转角度(浏览器css3支持) <!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> 
<title>div旋转角度</title> 
<meta charset="gb2312" /> 
<style type="text/css"> 
.mMain{
	position:absolute;
	width:350px;
	height:350px;
	top:150px;
	left:200px;
	background-color:#AA0A0A;
	transform:rotate(40deg); 
	-moz-transform:rotate(40deg);
	-webkit-transform:rotate(40deg);
}
</style> 
</head> 
<body> 
<div class="mMain">
</div>
</body> 
</html> | 
|
	
  |