一、预览效果

二、全部代码

<!DOCTYPE html>
<html><head><meta charset="utf-8"><title></title><style>*{margin: 0;padding: 0;line-height: 1;}html,body{width: 100%;height: 100%;}.box{overflow: hidden;width: 100%;height: 100%;display: flex;position: relative;align-items: flex-end;background: linear-gradient(to bottom, #8ec7c8 0%,#ffffff 100%);}.ground{height: 130px;background: green;width: 100%;border-top: 5px solid #550000;}.planes{position: absolute;top: 300px;left: 300px;z-index: 100;width: 250px;animation: planeFei ease-in-out 2s infinite;}.planes>img{width: 100%;}.planes>div{width: 200px;height: 8px;margin-left: 30px;background: #550000;animation: routes ease-in-out 0.5s infinite;}@keyframes routes{0%{transform: rotateY(0deg);}50%{transform: rotateY(180deg);}100%{transform: rotateY(0deg);}}@keyframes planeFei{0%{top: 300px;}50%{top:250px;}100%{top: 300px;}}.cloud{position: absolute;top:100px;right: -130px;z-index: 600;width: 130px;}.cloundOne{animation: cloudAni linear 3s infinite;}.cloudTwo{top: 300px !important;animation: opctiAni linear 3s infinite;animation-delay: 0.5s;}@keyframes opctiAni{0%{right: -130px;}73%{opacity: 1;}74%{opacity: 0.2;}80%{opacity: 1;}100%{right: 100%;}  }@keyframes cloudAni{0%{right: -130px;}100%{right: 100%;}}.cloud>div{width: 75px;height: 75px;position: absolute;top:0;border-radius: 50%;background-color: #fff;}.cloud>div:not(:first-child){top: 40px;}.cloud>div:nth-of-type(1){left: 50%;transform: translateX(-50%);}.cloud>div:nth-of-type(2){left: 0;}.cloud>div:nth-of-type(3){right: 0;}</style></head><body><div class="box"><div class="planes"><div></div><img src="./img/plane.png" /></div><div class="cloud cloundOne"><div></div><div></div><div></div></div><div class="cloud cloudTwo"><div></div><div></div><div></div></div><div class="ground"></div></div></body>
</html>

三、飞机素材

Css3飞机动画特效相关推荐

  1. css3的动画特效--元素旋转(transition,animation)

    css3的动画特效--元素旋转(transition,animation) 开发中,视觉要你实现一个元素的旋转问题,比如说如下图所示: 思路:首先动画动效肯定离不开anmimation动画. 和tra ...

  2. CSS3: 常用动画特效及4个最流行的动画库

    一.animates.css animate.css是来自dropbox的工程师Daniel Eden开发的一款CSS3的动画效果小类库.包含了60多款不同类型的CSS3动画,包括:晃动,闪动,各种淡 ...

  3. 8种CSS3按钮动画特效【附源码】

    这8款CSS3按钮动画特效.在该特效中,提供了8种按钮动画效果.每种动画在鼠标悬停到按钮上面的时候,都会触发按钮动画. 动画效果截图: 使用方法 HTML结构 最简单的按钮HTML结构如下. < ...

  4. css3波浪动画特效

    css3波浪动画特效 可根据需求添加修改波浪线和背景颜色 全部代码如下 <!doctype html> <html> <head> <meta charset ...

  5. html5语音闹钟代码,HTML5+CSS3闹钟动画特效源码

    效果图 各位朋友大家好,今天给大家带来的是 <HTML5+CSS3闹钟动画特效源码> 可以添加在网站里面作为一个炫酷的小装饰 代码过长需要文档版源码来我的前端群581549454,已上传到 ...

  6. 纸飞机html,Flyaway.css-炫酷纯CSS3纸飞机动画特效

    Flyaway.css是一款使用纯CSS3制作的炫酷纸飞机动画特效.Flyout模式可以应用于登录页面,信息发送成功,如果填的信息有误,可以使用Shake模式,代表信息输入有误. Flyaway.cs ...

  7. css3 html5动画特效

    转载自:http://www.html5tricks.com/8-html5-pure-css3-animation.html 8个超震撼的HTML5和纯CSS3动画源码 150 人浏览 发表回复 H ...

  8. css3的动画特效--动画序列(animation)

    首先复习一下animation动画添加各种参数 (1)infinite参数,表示动画将无限循环.在速度曲线和播放次数之间还可以插入一个时间参数,用以设置动画延迟的时间.如希望使图标在1秒钟后再开始旋转 ...

  9. html js css倒计时,js+css3倒计时动画特效

    js代码 const nums = document.querySelectorAll('.nums span'); const counter = document.querySelector('. ...

最新文章

  1. ajax ie7没有权限,jquery ajax 在ie7不能正常使用
  2. 团队项目第一次冲刺 第二天
  3. 有时间看看这个方法 会不会 避免 xss
  4. (25)2-9-9-12分页(下)
  5. [ZJJOI2013]K大数查询 整体二分
  6. tensorflow实现回归
  7. swing学习一(swing介绍、swing样例、布局管理器)
  8. 解决微信小程序开发中wxss中不能用本地图片
  9. Python爬虫之(一):爬虫简介
  10. TortoiseSVN修改服务器地址的方法
  11. python复制包到其他环境_Python虚拟环境导出包安装到另一台电脑的方法
  12. 怎么将linux的动态IP设置成静态IP
  13. 用indy收邮件的问题,怎么样把邮件存放到本地,最好是存到数据库
  14. 上平台! 车联网智能化晋级高段位!
  15. markdown公式大全
  16. python不是有效的win32应用程序_python.exe不是有效的win32应用程序
  17. 今天,发鸡腿了!!!
  18. 高通linux平台(mdm9x07,sdx12)连接qact
  19. [经典] 使用Python批量重命名iPhone拍摄的照片-按照拍摄时间重命名
  20. oracle19自动索引,Oracle 19c 新特性详解:自动索引(Automatic Indexing)的输出报告范例...

热门文章

  1. python画雪花流程图_用python画雪花,Python
  2. 柯尼卡美能达bizhub 227打印机故障处理
  3. python之我的世界编程mcpi(1)环境安装
  4. ICE通信之IceBox服务器
  5. mina - IoSession
  6. K-Means聚类算法以及扩展算法K-Modes、K-Prototype
  7. Oracle安装 配置 使用 方法总结
  8. day21-java(改)
  9. 使用freemarker模板导出word文档
  10. html p5 绘制图片,p5.js入门教程和基本形状绘制_淋雪_前端开发者