一个浮动 css3效果
2017-03-15 13:06
204 查看
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Document</title> <style type="text/css"> div{ background: #639; width: 235px; height: 216px; position: absolute; top: 300px; left: 300px; } /*nimation-delay:1s*/ @keyframes arrow1{ 0%{transform: translateY(0);} 100%{transform: translateY(10px);} } @-webkit-keyframes arrow1{ 0%{-webkit-transform: translateY(0);} 100%{-webkit-transform: translateY(10px);} } .arrow{ animation: arrow1 2s infinite; -webkit-animation: arrow1 2s infinite; animation-timing-function:ease-in-out; -webkit-animation-timing-function:ease-in-out; -webkit-animation-direction:alternate; animation-direction:alternate; } </style> </head> <body> <div class="arrow"> <img src="http://paas.mail.10086.cn/res/build/images/c04.png" /> </div> </body> </html> 链接
相关文章推荐
- 操作CSS3过渡使用jQuery创建一个拖放文本效果
- 用CSS3做一个网页水平翻转效果
- 一个意外的小发现,为HTML5中的button添加css3中的border-radius样式会让button呈现立体效果,主要针对win8
- [CSS3学习]用CSS3做一个圆圈等待条动画效果
- 使用jQuery和CSS3创建一个全屏幕幻灯效果
- 分享一个通过JS、CSS3滚动渐变的效果
- css3和jQuery实现一个简单的标签页效果
- 使用jQuery和CSS3创建一个全屏幕幻灯效果
- 一个CSS3滤镜Drop-shadow阴影效果
- 利用window对象实现一个图片的浮动效果
- 分享一个CSS3实现的动态内容标签页切换效果教程
- 使用jQuery和CSS3创建一个支持翻转效果的微/轻博客网站列表
- 用css3制作一个搜索框效果
- 一个漂亮的浮动层效果
- 一个用 CSS3 样式加上 JS 实现了 alert 和 confirm的效果
- 分享一个CSS3和jQuery实现的模糊显示效果 - 帮助你的访问用户更好的阅读内容
- 分享一个CSS3实现的动态内容标签页切换效果教程
- 一个不陌生的JS效果-marquee,用css3来实现
- 一个将图片展示到手机屏幕,并让其不停的浮动的效果
- 分享一个CSS3和jQuery实现的模糊显示效果 - 帮助你的访问用户更好的阅读内容