最新下载
jQuery超酷动态弹出表单 jQuery超酷动态弹出表单网页特效
24小时阅读排行榜
- 1 javascript拖放功能如何实现_原生drag和drop api怎样使用【教程】
- 2 Golang中频繁创建对象如何优化_Golang对象复用与内存优化
- 3 PHP 中 mktime() 函数参数类型错误的修复指南
- 4 PHP 中 mktime() 函数因参数类型严格校验导致的致命错误详解
- 5 PHP中mktime()函数调用错误的修复方法
- 6 如何在动态生成表单时,通过表单外部按钮(如导航栏按钮)触发提交?
- 7 WordPress 中 admin_notices 通知显示位置异常的解决方案
- 8 WordPress 后台通知(admin_notices)显示错位的解决方案
- 9 Pyomo教程:如何在优化模型中为每个请求动态定义时间窗口并施加能量约束
- 10 如何在 Go 中对结构体切片进行降序排序
- 11 WordPress 中 admin_notices 通知显示错位的解决方案
- 12 WordPress 插件中实现 CAPTCHA 图像生成的正确方法
- 13 如何在 WordPress 中随机显示 20 名订阅用户(含头像)
- 14 Pyomo教程:如何为动态时间窗口内的请求构建条件能量约束
- 15 JavaScript 中从数组构建分层随机三叉树的完整教程
最新教程
-
- Node.js 教程
- 16392 2025-08-28
-
- CSS3 教程
- 1547154 2025-08-27
-
- Rust 教程
- 23489 2025-08-27
-
- Vue 教程
- 25916 2025-08-22
-
- PostgreSQL 教程
- 22415 2025-08-21
-
- Git 教程
- 9352 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 "/>
