CSS3:转动的齿轮
来源:互联网 发布:非线性约束优化问题 编辑:程序博客网 时间:2024/05/17 08:15
demo:http://download.csdn.net/detail/jyy_12/3841695
body{background:#2C91AE;}.wrap{width:600px;height:400px;padding:50px;margin:20pxauto;position:relative;}.gear{border-radius:100px;border:1px solid #8C8C8A;width:200px;height:200px;position:relative;background-color:#FFFFFF;}.gear span{border:1px solid #8C8C8A;display:block;width:20px;height:30px;position:absolute;border-right:none;background-color:#FFFFFF;}.c1{left:8px;top:12px;-webkit-transform:rotate(41deg);}.c2{left:60px;top:-21px;-webkit-transform:rotate(75deg);}.c3{left:125px;top:-19px;-webkit-transform:rotate(110deg);}.c4{left:177px;top:20px;-webkit-transform:rotate(144deg);}.c5{left:198px;top:84px;-webkit-transform:rotate(181deg);}.c6{left:176px;top:150px;-webkit-transform:rotate(216deg);}.c7{left:125px;top:187px;-webkit-transform:rotate(250deg);}.c8{left:55px;top:188px;-webkit-transform:rotate(288deg);}.c9{left:0px;top:147px;-webkit-transform:rotate(325deg);}.c10{left:-19px;top:80px;-webkit-transform:rotate(2deg);}.gear em{background-color:#2C91AE;border-radius:20px;border:1px solid #8C8C8A;width:40px;height:40px;display:block;position:absolute;left:80px;top:80px;}.gear{ -webkit-animation-name:run; -webkit-animation-duration:5s; -webkit-animation-timing-function:linear; -webkit-animation-delay:0s; -webkit-animation-iteration-count:infinite; -webkit-animation-direction:normal; }.s{position:absolute;left:700px;top:156px;zoom:0.7;-webkit-animation-duration:3s;}@-webkit-keyframes run{ from { -webkit-transform:rotate(0deg); } to { -webkit-transform:rotate(360deg); } }.line{border-width:3px 0 3px 3px;border-color:#FFFFFF;border-style:solid;width:117px;height:234px;border-radius:120px 0 0 120px;position:absolute;top:31px;left:30px;}.line div{position:relative;border-color:#FFFFFF;border-style:solid;}.la{border-width:3px 0 0;top:30px;left:112px;width:432px;-webkit-transform:rotate(9deg);}.lb{border-width:3px 0 0;top:227px;left:110px;width:420px;-webkit-transform:rotate(-1deg);}.lc{border-width:3px 3px 3px 0;width:75px;border-radius:0 79px 79px 0;height:160px;left:531px;top:61px;-webkit-transform:rotate(5deg);}
<div class="wrap"><div class="gear"><div class="grear_r"><span class="c1"></span><span class="c2"></span><span class="c3"></span><span class="c4"></span><span class="c5"></span><span class="c6"></span><span class="c7"></span><span class="c8"></span><span class="c9"></span><span class="c10"></span><em></em></div></div><div class="gear s"><div class="grear_r"><span class="c1"></span><span class="c2"></span><span class="c3"></span><span class="c4"></span><span class="c5"></span><span class="c6"></span><span class="c7"></span><span class="c8"></span><span class="c9"></span><span class="c10"></span><em></em></div></div><div class="line"><div class="la"></div><div class="lb"></div><div class="lc"></div></div></div>
- CSS3:转动的齿轮
- CSS3——齿轮转动
- CSS3——齿轮转动
- 实现齿轮转动动画CSS3特效
- CSU-1729_齿轮转动
- RecycleView刷新 齿轮转动动画效果
- CSS3 圆转动 特效
- HTML5+CSS3实现的小风车-转动的童年
- js+css3实现一双转动的眼睛-------Day68
- 玩转Css3动画 - 转动的风车效果
- 纯css3实现的太极八卦并且会转动的css3特效
- 复杂的齿轮动画
- 齿轮的基本知识
- css3 2D图片转动样式
- 使用纯 CSS3 动画实现地球转动
- 使用纯CSS3实现转动时钟案例
- 简化SODICK的齿轮绘图
- [USACO Mar08] 混乱的齿轮
- DataTime.Now()
- 文件下载
- ClipBoard
- C/C++中怎样获取日期和时间
- js实现全选与反选
- CSS3:转动的齿轮
- 树的存储结构
- c typedef
- Thread-Per-Message 模式
- c 内存对齐
- JAVA调用SQL存储过程
- float和double类型的内存分布和比较方法
- dynamic_cast
- Oracle hints语句