首页 > 其他 > 详细

div 旋转

时间:2016-10-22 17:45:52      阅读:107      评论:0      收藏:0      [点我收藏+]

<!DOCTYPE html>

<html>

<head>

<meta charset="utf-8" />

<title>css3 通过transform属性实现DIV元素的旋转</title>

<style>

.aimateStyle{

 border:1px solid black;

 width:300px;

 height:300px;

 background:#abcdef;

 position:absolute;

 top:150px;

 left:200px;

}

#aixuexi{

border:1px solid black;

  width:200px;

  height:150px;

  background:#f9c;

-moz-transform:rotate(45deg);

-webkit-transform:rotate(45deg);

-o-transform:rotate(45deg);  

-ms-transform:rotate(45deg); 

transform:rotate(45deg); 

}

</style>

</head>

<body>

<div class="aimateStyle">

<div id="aixuexi">

 animations 动画效果

</div>

</div>

</body>

</html>

div 旋转

原文:http://www.cnblogs.com/shsgl/p/5987614.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!