最新下载
jQuery点击文字滚动Scrollocue插件
24小时阅读排行榜
- 1 css按钮禁用状态样式如何设置_使用:disabled伪类控制禁用态
- 2 如何使用Golang实现桥接接口解耦_使用Bridge Pattern实现抽象分离
- 3 javascript的文件上传怎么做_如何实现分片和断点续传
- 4 css图标字体加载慢显示方块怎么办_通过@font-face本地字体兜底处理
- 5 HTML页面如何开启在线编辑_内容可修改实现方案【解析】
- 6 javascript中的Canvas如何绘图_与SVG相比有何优劣
- 7 javascript究竟是什么_它如何彻底改变现代网页开发
- 8 mysql中schema是什么意思_mysql schema概念说明
- 9 javascript WebSocket是什么_如何实现浏览器与服务器的双向通信?
- 10 php推送源码怎么写_php推送源码编写与实现步骤【教程】
- 11 Linux资源使用趋势怎么看_历史监控数据分析【技巧】
- 12 mysql慢查询日志是什么_mysql性能问题定位方法
- 13 javascript函数式编程是什么_纯函数和副作用有何关联
- 14 页面头部底部固定中间滚动怎么办_通过flex column布局实现
- 15 javascript如何处理错误_try catch能捕获所有异常吗
最新教程
-
- Node.js 教程
- 14217 2025-08-28
-
- CSS3 教程
- 1540934 2025-08-27
-
- Rust 教程
- 21921 2025-08-27
-
- Vue 教程
- 24418 2025-08-22
-
- PostgreSQL 教程
- 21125 2025-08-21
-
- Git 教程
- 8326 2025-08-21
css3海上邮轮动画效果是一款通过css3 animation属性制作的海面上轮船航行动画特效。
<svg version="1.1" class="ship" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
viewBox="0 0 600 600" style="enable-background:new 0 0 600 600;" xml:space="preserve">
<circle id="sun" class="ship1" cx="520.8" cy="369.8" r="44.9"/>
<rect id="smoke1" x="173" y="225" width="18" height="10"/>
<rect id="smoke2" x="173" y="225" width="18" height="10"/>
<rect id="smoke3" x="173" y="225" width="18" height="10"/>
<rect id="smoke4" x="173" y="225" width="18" height="10"/>
<g id="ship">
<polyline class="ship3" points="261.4,274.1 266.7,246.9 272.1,274.3 261.4,274.1 "/>
<ellipse class="ship1" cx="267.1" cy="253.7" rx="13.6" ry="13.3"/>
<path class="ship3" d="M274.8,244c5.2,4.1,6,11.6,1.8,16.9c0,0-2.4-5.9-7.6-10c-5.2-4.1-11.1-4.7-11.1-4.7
C262.1,240.9,269.6,239.9,274.8,244z"/>
<polyline class="ship1" points="269.6,274.3 272.1,274.3 270.9,268.1 "/>
<polygon class="ship3" points="389.3,371.2 108.9,371.2 85.7,319.9 86.2,315.7 97.2,315.1 111.6,274.3 318.2,274.1 318.4,286.7
331.6,286.6 332,296.9 344.9,296.9 345.5,319 447.5,310.5 "/>
<path class="ship1" d="M294.6,274.2l23.6,0l0.2,12.6l13.2-0.1l0.4,10.2h12.9l1.4,23.7c0,0-79.5,6.6-123.1,7.3
c-34.4,0.5,97.4-8.2,97.4-8.2l-0.7-20.2l-15.9-0.2l0.1-11h-9.8L294.6,274.2z"/>
<g>
<polygon class="ship1" points="195.1,275 167,275 172.2,238.8 189.9,238.8 "/>
<polygon class="ship3" points="189.3,275 167,275 172.2,238.8 187.5,238.8 "/>
