Toggle navigation
在线编辑器
在线代码
文本比较
jQuery下载
前端库
在线手册
登录/注册
下载代码
html
css
js
分享到微信朋友圈
X
html
css
html, body, .hello-parent { height: 100%; width: 100%; margin: 0; } .hello-parent { display: flex; background: #fff; background: -webkit-radial-gradient(#fff, #eaeaea); background: -o-radial-gradient(#fff, #eaeaea); background: -moz-radial-gradient(#fff, #eaeaea); background: radial-gradient(#fff, #eaeaea); } .hello-word { margin:auto; } /* H Animation */ .H-left-stroke { stroke-dasharray: 124px; stroke-dashoffset: 124px; animation: H-left-move 20s ease forwards; } .H-mid-stroke { stroke-dasharray: 37px; stroke-dashoffset: 37px; animation: H-mid-move 9s ease forwards; } .H-right-stroke { stroke-dasharray: 124px; stroke-dashoffset: 124px; animation: H-right-move 13s ease forwards; } @keyframes H-left-move { 0% { stroke-dashoffset: 124px; } 5% { stroke-dashoffset: 0px; } 100% { stroke-dashoffset: 0px; } } @keyframes H-mid-move { 0% { stroke-dashoffset: 37px; } 5% { stroke-dashoffset: 37px; } 10% { stroke-dashoffset: 0px; } 100% { stroke-dashoffset: 0px; } } @keyframes H-right-move { 0% { stroke-dashoffset: 124px; } 5% { stroke-dashoffset: 124px; } 10% { stroke-dashoffset: 0px; } 100% { stroke-dashoffset: 0px; } } /* E Animation */ .E-left-stroke { stroke-dasharray: 124px; stroke-dashoffset: 124px; animation: E-left-move 20s ease forwards; } .E-top-stroke { stroke-dasharray: 47px; stroke-dashoffset: 47px; animation: E-top-move 10s ease forwards; } .E-mid-stroke { stroke-dasharray: 42px; stroke-dashoffset: 42px; animation: E-mid-move 10s ease forwards; } .E-bottom-stroke { stroke-dasharray: 47px; stroke-dashoffset: 47px; animation: E-bottom-move 10s ease forwards; } @keyframes E-left-move { 0% { stroke-dashoffset: 124px; } 2% { stroke-dashoffset: 124px; } 6% { stroke-dashoffset: 0px; } 100% { stroke-dashoffset: 0px; } } @keyframes E-top-move { 0% { stroke-dashoffset: 47px; } 6% { stroke-dashoffset: 47px; } 11% { stroke-dashoffset: 0px; } 100% { stroke-dashoffset: 0px; } } @keyframes E-mid-move { 0% { stroke-dashoffset: 42px; } 8% { stroke-dashoffset: 42px; } 13% { stroke-dashoffset: 0px; } 100% { stroke-dashoffset: 0px; } } @keyframes E-bottom-move { 0% { stroke-dashoffset: 47px; } 11% { stroke-dashoffset: 47px; } 16% { stroke-dashoffset: 0px; } 100% { stroke-dashoffset: 0px; } } /* L One Animation */ .L-one-long-stroke { stroke-dasharray: 124px; stroke-dashoffset: 124px; animation: L-one-long-move 20s ease forwards; } .L-one-short-stroke { stroke-dasharray: 44px; stroke-dashoffset: 44px; animation: L-one-short-move 10s ease forwards; } @keyframes L-one-long-move { 0% { stroke-dashoffset: 124px; } 2% { stroke-dashoffset: 124px; } 7% { stroke-dashoffset: 0px; } 100% { stroke-dashoffset: 0px; } } @keyframes L-one-short-move { 0% { stroke-dashoffset: 44px; } 13% { stroke-dashoffset: 44px; } 18% { stroke-dashoffset: 0px; } 100% { stroke-dashoffset: 0px; } } /* L Two Animation */ .L-two-long-stroke { stroke-dasharray: 124px; stroke-dashoffset: 124px; animation: L-two-long-move 20s ease forwards; } .L-two-short-stroke { stroke-dasharray: 44px; stroke-dashoffset: 44px; animation: L-two-short-move 10s ease forwards; } @keyframes L-two-long-move { 0% { stroke-dashoffset: 124px; } 3% { stroke-dashoffset: 124px; } 8% { stroke-dashoffset: 0px; } 100% { stroke-dashoffset: 0px; } } @keyframes L-two-short-move { 0% { stroke-dashoffset: 44px; } 15% { stroke-dashoffset: 44px; } 20% { stroke-dashoffset: 0px; } 100% { stroke-dashoffset: 0px; } } /* O Animation */ .O-stroke { stroke-dasharray: 302px; stroke-dashoffset: 302px; animation: O-move 20s ease forwards; } @keyframes O-move { 0% { stroke-dashoffset: 302px; } 4% { stroke-dashoffset: 302px; } 9% { stroke-dashoffset: 0px; } 100% { stroke-dashoffset: 0px; } } /* Red Dot Animation */ .red-dot { stroke-width: 44px; stroke-linecap: round; animation: red-dot-grow 8s ease-out forwards; } @keyframes red-dot-grow { 0% { stroke-width: 0px; } 15% { stroke-width: 0px; } 20% { stroke-width: 44px; } 100% { stroke-width: 44px; } }
JavaScript
粒子
时间
文字
hover
canvas
3d
游戏
音乐
火焰
水波
轮播图
鼠标跟随
动画
css
加载动画
导航
菜单
按钮
滑块
tab
弹出层
统计图
svg
×
Close
在线代码下载提示
开通在线代码永久免费下载,需支付20jQ币
开通后,在线代码模块中所有代码可终身免费下!
您已开通在线代码永久免费下载,关闭提示框后,点下载代码可直接下载!
您已经开通过在线代码永久免费下载
对不起,您的jQ币不足!可通过发布资源 或
直接充值获取jQ币
取消
开通下载
<!doctype html> <html> <head> <meta charset="utf-8"> <title>SVG动画文本使用笔画偏移的方法-jq22.com</title> <script src="https://www.jq22.com/jquery/jquery-1.10.2.js"></script> <style>
</style> </head> <body>
<script>
</script>
</body> </html>
2012-2021 jQuery插件库版权所有
jquery插件
|
jq22工具库
|
网页技术
|
广告合作
|
在线反馈
|
版权声明
沪ICP备13043785号-1
浙公网安备 33041102000314号