css3幻灯片效果
2016-04-21 10:25
495 查看
<!DOCTYPE html> <html> <head> <meta http-equiv="content-type" content="text/html;charset=utf-8"> <title></title> <meta http-equiv="X-UA-Compatible" content="IE=Edge"> <meta content="always" name="referrer"> <meta name="theme-color" content="#2932e1"> <script src="http://libs.baidu.com/jquery/1.9.0/jquery.js" type="text/javascript"></script> <style type="text/css" media="screen"> .al{ width: 120px; height: 120px; padding:50px; border-radius: 50%; background: #14295A; margin: 200px; } .logo{ width: 120px; height: 120px; background: #14295A; background-repeat: no-repeat; background-position: 50% 50%; animation: logo 6s linear infinite; } @-webkit-keyframes logo{0%,33.34%,66.67%{opacity: 0;}10%,33.33%,43.34%,66.66%,76.67%,100%{opacity: 1;}0%,33.34%,66.67%{-webkit-transform:translateY(-30px);}5%,33.33%,38.34%,66.66%,71.67%,100%{-webkit-transform:translateY(0);}0%,33.33%{background-image: url(images/1.png);}33.34%,66.66%{background-image: url(images/2.png);}66.67%,100%{background-image: url(images/3.png);}} </style> </head> <body> <div class="al"> <div class="logo"> </div> </div> </body> </html>
相关文章推荐
- css定位
- CSS笔记(语法)
- CSS命名规则
- CSS position属性和实例应用
- 详解css3弹性盒模型(Flexbox)
- CSS_腾讯QQ官网,新浪官网,网易官网,淘宝官网之css初始化代码
- 史上最全的CSS hack方式一览
- CSS清除浮动_清除float浮动
- css清除浮动float的三种方法总结,为什么清浮动?浮动会有那些影响?一起来$('.float')
- [zz]css绝对定位、相对定位和文档流的那些事
- ios开发之字体样式设置大全
- CSS3径向渐变----大鱼吃小鱼之孤单的大鱼
- 用css控制段落
- CSS3 Filter的十种特效
- cssReset - css初始化
- avalon2学习教程06样式操作
- CSS实现多重边框和内凹圆角
- CSS3绘制8种超炫的加载动画
- 前端笔记 CSS 4
- RatingBar的样式