Toggle navigation
在线编辑器
在线代码
文本比较
jQuery下载
前端库
在线手册
登录/注册
下载代码
html
css
js
分享到微信朋友圈
X
html
jquery
css
body { background: #212121; } a { font-weight: bold; text-transform: uppercase; color: #212121; font-size: 8vw; position: absolute; top: 50%; left: 50%; margin: 0; -webkit-transform: translate(-50%, -50%); transform: translate(-50%, -50%); letter-spacing: .15em; } a > span { position: relative; } a > span i { color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, 0.3); position: absolute; left: 0; top: 0; font-style: normal; -webkit-animation: 3s infinite alternate shift ease-in-out; animation: 3s infinite alternate shift ease-in-out; will-change: transform; } a > span:nth-child(1) { z-index: 9; } a > span:nth-child(1) i:nth-child(1) { -webkit-animation-delay: calc(170ms + 100ms); animation-delay: calc(170ms + 100ms); } a > span:nth-child(1) i:nth-child(2) { -webkit-animation-delay: calc(170ms + 200ms); animation-delay: calc(170ms + 200ms); } a > span:nth-child(1) i:nth-child(3) { -webkit-animation-delay: calc(170ms + 300ms); animation-delay: calc(170ms + 300ms); } a > span:nth-child(1) i:nth-child(4) { -webkit-animation-delay: calc(170ms + 400ms); animation-delay: calc(170ms + 400ms); } a > span:nth-child(1) i:nth-child(5) { -webkit-animation-delay: calc(170ms + 500ms); animation-delay: calc(170ms + 500ms); } a > span:nth-child(1) i:nth-child(6) { -webkit-animation-delay: calc(170ms + 600ms); animation-delay: calc(170ms + 600ms); } a > span:nth-child(1) i:nth-child(7) { -webkit-animation-delay: calc(170ms + 700ms); animation-delay: calc(170ms + 700ms); } a > span:nth-child(1) i:nth-child(8) { -webkit-animation-delay: calc(170ms + 800ms); animation-delay: calc(170ms + 800ms); } a > span:nth-child(1) i:nth-child(9) { -webkit-animation-delay: calc(170ms + 900ms); animation-delay: calc(170ms + 900ms); } a > span:nth-child(1) i:nth-child(10) { -webkit-animation-delay: calc(170ms + 1000ms); animation-delay: calc(170ms + 1000ms); } a > span:nth-child(2) { z-index: 8; } a > span:nth-child(2) i:nth-child(1) { -webkit-animation-delay: calc(340ms + 100ms); animation-delay: calc(340ms + 100ms); } a > span:nth-child(2) i:nth-child(2) { -webkit-animation-delay: calc(340ms + 200ms); animation-delay: calc(340ms + 200ms); } a > span:nth-child(2) i:nth-child(3) { -webkit-animation-delay: calc(340ms + 300ms); animation-delay: calc(340ms + 300ms); } a > span:nth-child(2) i:nth-child(4) { -webkit-animation-delay: calc(340ms + 400ms); animation-delay: calc(340ms + 400ms); } a > span:nth-child(2) i:nth-child(5) { -webkit-animation-delay: calc(340ms + 500ms); animation-delay: calc(340ms + 500ms); } a > span:nth-child(2) i:nth-child(6) { -webkit-animation-delay: calc(340ms + 600ms); animation-delay: calc(340ms + 600ms); } a > span:nth-child(2) i:nth-child(7) { -webkit-animation-delay: calc(340ms + 700ms); animation-delay: calc(340ms + 700ms); } a > span:nth-child(2) i:nth-child(8) { -webkit-animation-delay: calc(340ms + 800ms); animation-delay: calc(340ms + 800ms); } a > span:nth-child(2) i:nth-child(9) { -webkit-animation-delay: calc(340ms + 900ms); animation-delay: calc(340ms + 900ms); } a > span:nth-child(2) i:nth-child(10) { -webkit-animation-delay: calc(340ms + 1000ms); animation-delay: calc(340ms + 1000ms); } a > span:nth-child(3) { z-index: 7; } a > span:nth-child(3) i:nth-child(1) { -webkit-animation-delay: calc(510ms + 100ms); animation-delay: calc(510ms + 100ms); } a > span:nth-child(3) i:nth-child(2) { -webkit-animation-delay: calc(510ms + 200ms); animation-delay: calc(510ms + 200ms); } a > span:nth-child(3) i:nth-child(3) { -webkit-animation-delay: calc(510ms + 300ms); animation-delay: calc(510ms + 300ms); } a > span:nth-child(3) i:nth-child(4) { -webkit-animation-delay: calc(510ms + 400ms); animation-delay: calc(510ms + 400ms); } a > span:nth-child(3) i:nth-child(5) { -webkit-animation-delay: calc(510ms + 500ms); animation-delay: calc(510ms + 500ms); } a > span:nth-child(3) i:nth-child(6) { -webkit-animation-delay: calc(510ms + 600ms); animation-delay: calc(510ms + 600ms); } a > span:nth-child(3) i:nth-child(7) { -webkit-animation-delay: calc(510ms + 700ms); animation-delay: calc(510ms + 700ms); } a > span:nth-child(3) i:nth-child(8) { -webkit-animation-delay: calc(510ms + 800ms); animation-delay: calc(510ms + 800ms); } a > span:nth-child(3) i:nth-child(9) { -webkit-animation-delay: calc(510ms + 900ms); animation-delay: calc(510ms + 900ms); } a > span:nth-child(3) i:nth-child(10) { -webkit-animation-delay: calc(510ms + 1000ms); animation-delay: calc(510ms + 1000ms); } a > span:nth-child(4) { z-index: 6; } a > span:nth-child(4) i:nth-child(1) { -webkit-animation-delay: calc(680ms + 100ms); animation-delay: calc(680ms + 100ms); } a > span:nth-child(4) i:nth-child(2) { -webkit-animation-delay: calc(680ms + 200ms); animation-delay: calc(680ms + 200ms); } a > span:nth-child(4) i:nth-child(3) { -webkit-animation-delay: calc(680ms + 300ms); animation-delay: calc(680ms + 300ms); } a > span:nth-child(4) i:nth-child(4) { -webkit-animation-delay: calc(680ms + 400ms); animation-delay: calc(680ms + 400ms); } a > span:nth-child(4) i:nth-child(5) { -webkit-animation-delay: calc(680ms + 500ms); animation-delay: calc(680ms + 500ms); } a > span:nth-child(4) i:nth-child(6) { -webkit-animation-delay: calc(680ms + 600ms); animation-delay: calc(680ms + 600ms); } a > span:nth-child(4) i:nth-child(7) { -webkit-animation-delay: calc(680ms + 700ms); animation-delay: calc(680ms + 700ms); } a > span:nth-child(4) i:nth-child(8) { -webkit-animation-delay: calc(680ms + 800ms); animation-delay: calc(680ms + 800ms); } a > span:nth-child(4) i:nth-child(9) { -webkit-animation-delay: calc(680ms + 900ms); animation-delay: calc(680ms + 900ms); } a > span:nth-child(4) i:nth-child(10) { -webkit-animation-delay: calc(680ms + 1000ms); animation-delay: calc(680ms + 1000ms); } a > span:nth-child(5) { z-index: 5; } a > span:nth-child(5) i:nth-child(1) { -webkit-animation-delay: calc(850ms + 100ms); animation-delay: calc(850ms + 100ms); } a > span:nth-child(5) i:nth-child(2) { -webkit-animation-delay: calc(850ms + 200ms); animation-delay: calc(850ms + 200ms); } a > span:nth-child(5) i:nth-child(3) { -webkit-animation-delay: calc(850ms + 300ms); animation-delay: calc(850ms + 300ms); } a > span:nth-child(5) i:nth-child(4) { -webkit-animation-delay: calc(850ms + 400ms); animation-delay: calc(850ms + 400ms); } a > span:nth-child(5) i:nth-child(5) { -webkit-animation-delay: calc(850ms + 500ms); animation-delay: calc(850ms + 500ms); } a > span:nth-child(5) i:nth-child(6) { -webkit-animation-delay: calc(850ms + 600ms); animation-delay: calc(850ms + 600ms); } a > span:nth-child(5) i:nth-child(7) { -webkit-animation-delay: calc(850ms + 700ms); animation-delay: calc(850ms + 700ms); } a > span:nth-child(5) i:nth-child(8) { -webkit-animation-delay: calc(850ms + 800ms); animation-delay: calc(850ms + 800ms); } a > span:nth-child(5) i:nth-child(9) { -webkit-animation-delay: calc(850ms + 900ms); animation-delay: calc(850ms + 900ms); } a > span:nth-child(5) i:nth-child(10) { -webkit-animation-delay: calc(850ms + 1000ms); animation-delay: calc(850ms + 1000ms); } a > span:nth-child(6) { z-index: 4; } a > span:nth-child(6) i:nth-child(1) { -webkit-animation-delay: calc(1020ms + 100ms); animation-delay: calc(1020ms + 100ms); } a > span:nth-child(6) i:nth-child(2) { -webkit-animation-delay: calc(1020ms + 200ms); animation-delay: calc(1020ms + 200ms); } a > span:nth-child(6) i:nth-child(3) { -webkit-animation-delay: calc(1020ms + 300ms); animation-delay: calc(1020ms + 300ms); } a > span:nth-child(6) i:nth-child(4) { -webkit-animation-delay: calc(1020ms + 400ms); animation-delay: calc(1020ms + 400ms); } a > span:nth-child(6) i:nth-child(5) { -webkit-animation-delay: calc(1020ms + 500ms); animation-delay: calc(1020ms + 500ms); } a > span:nth-child(6) i:nth-child(6) { -webkit-animation-delay: calc(1020ms + 600ms); animation-delay: calc(1020ms + 600ms); } a > span:nth-child(6) i:nth-child(7) { -webkit-animation-delay: calc(1020ms + 700ms); animation-delay: calc(1020ms + 700ms); } a > span:nth-child(6) i:nth-child(8) { -webkit-animation-delay: calc(1020ms + 800ms); animation-delay: calc(1020ms + 800ms); } a > span:nth-child(6) i:nth-child(9) { -webkit-animation-delay: calc(1020ms + 900ms); animation-delay: calc(1020ms + 900ms); } a > span:nth-child(6) i:nth-child(10) { -webkit-animation-delay: calc(1020ms + 1000ms); animation-delay: calc(1020ms + 1000ms); } a > span:nth-child(7) { z-index: 3; } a > span:nth-child(7) i:nth-child(1) { -webkit-animation-delay: calc(1190ms + 100ms); animation-delay: calc(1190ms + 100ms); } a > span:nth-child(7) i:nth-child(2) { -webkit-animation-delay: calc(1190ms + 200ms); animation-delay: calc(1190ms + 200ms); } a > span:nth-child(7) i:nth-child(3) { -webkit-animation-delay: calc(1190ms + 300ms); animation-delay: calc(1190ms + 300ms); } a > span:nth-child(7) i:nth-child(4) { -webkit-animation-delay: calc(1190ms + 400ms); animation-delay: calc(1190ms + 400ms); } a > span:nth-child(7) i:nth-child(5) { -webkit-animation-delay: calc(1190ms + 500ms); animation-delay: calc(1190ms + 500ms); } a > span:nth-child(7) i:nth-child(6) { -webkit-animation-delay: calc(1190ms + 600ms); animation-delay: calc(1190ms + 600ms); } a > span:nth-child(7) i:nth-child(7) { -webkit-animation-delay: calc(1190ms + 700ms); animation-delay: calc(1190ms + 700ms); } a > span:nth-child(7) i:nth-child(8) { -webkit-animation-delay: calc(1190ms + 800ms); animation-delay: calc(1190ms + 800ms); } a > span:nth-child(7) i:nth-child(9) { -webkit-animation-delay: calc(1190ms + 900ms); animation-delay: calc(1190ms + 900ms); } a > span:nth-child(7) i:nth-child(10) { -webkit-animation-delay: calc(1190ms + 1000ms); animation-delay: calc(1190ms + 1000ms); } a > span:nth-child(8) { z-index: 2; } a > span:nth-child(8) i:nth-child(1) { -webkit-animation-delay: calc(1360ms + 100ms); animation-delay: calc(1360ms + 100ms); } a > span:nth-child(8) i:nth-child(2) { -webkit-animation-delay: calc(1360ms + 200ms); animation-delay: calc(1360ms + 200ms); } a > span:nth-child(8) i:nth-child(3) { -webkit-animation-delay: calc(1360ms + 300ms); animation-delay: calc(1360ms + 300ms); } a > span:nth-child(8) i:nth-child(4) { -webkit-animation-delay: calc(1360ms + 400ms); animation-delay: calc(1360ms + 400ms); } a > span:nth-child(8) i:nth-child(5) { -webkit-animation-delay: calc(1360ms + 500ms); animation-delay: calc(1360ms + 500ms); } a > span:nth-child(8) i:nth-child(6) { -webkit-animation-delay: calc(1360ms + 600ms); animation-delay: calc(1360ms + 600ms); } a > span:nth-child(8) i:nth-child(7) { -webkit-animation-delay: calc(1360ms + 700ms); animation-delay: calc(1360ms + 700ms); } a > span:nth-child(8) i:nth-child(8) { -webkit-animation-delay: calc(1360ms + 800ms); animation-delay: calc(1360ms + 800ms); } a > span:nth-child(8) i:nth-child(9) { -webkit-animation-delay: calc(1360ms + 900ms); animation-delay: calc(1360ms + 900ms); } a > span:nth-child(8) i:nth-child(10) { -webkit-animation-delay: calc(1360ms + 1000ms); animation-delay: calc(1360ms + 1000ms); } a > span:nth-child(9) { z-index: 1; } a > span:nth-child(9) i:nth-child(1) { -webkit-animation-delay: calc(1530ms + 100ms); animation-delay: calc(1530ms + 100ms); } a > span:nth-child(9) i:nth-child(2) { -webkit-animation-delay: calc(1530ms + 200ms); animation-delay: calc(1530ms + 200ms); } a > span:nth-child(9) i:nth-child(3) { -webkit-animation-delay: calc(1530ms + 300ms); animation-delay: calc(1530ms + 300ms); } a > span:nth-child(9) i:nth-child(4) { -webkit-animation-delay: calc(1530ms + 400ms); animation-delay: calc(1530ms + 400ms); } a > span:nth-child(9) i:nth-child(5) { -webkit-animation-delay: calc(1530ms + 500ms); animation-delay: calc(1530ms + 500ms); } a > span:nth-child(9) i:nth-child(6) { -webkit-animation-delay: calc(1530ms + 600ms); animation-delay: calc(1530ms + 600ms); } a > span:nth-child(9) i:nth-child(7) { -webkit-animation-delay: calc(1530ms + 700ms); animation-delay: calc(1530ms + 700ms); } a > span:nth-child(9) i:nth-child(8) { -webkit-animation-delay: calc(1530ms + 800ms); animation-delay: calc(1530ms + 800ms); } a > span:nth-child(9) i:nth-child(9) { -webkit-animation-delay: calc(1530ms + 900ms); animation-delay: calc(1530ms + 900ms); } a > span:nth-child(9) i:nth-child(10) { -webkit-animation-delay: calc(1530ms + 1000ms); animation-delay: calc(1530ms + 1000ms); } a > span:nth-child(10) { z-index: 0; } a > span:nth-child(10) i:nth-child(1) { -webkit-animation-delay: calc(1700ms + 100ms); animation-delay: calc(1700ms + 100ms); } a > span:nth-child(10) i:nth-child(2) { -webkit-animation-delay: calc(1700ms + 200ms); animation-delay: calc(1700ms + 200ms); } a > span:nth-child(10) i:nth-child(3) { -webkit-animation-delay: calc(1700ms + 300ms); animation-delay: calc(1700ms + 300ms); } a > span:nth-child(10) i:nth-child(4) { -webkit-animation-delay: calc(1700ms + 400ms); animation-delay: calc(1700ms + 400ms); } a > span:nth-child(10) i:nth-child(5) { -webkit-animation-delay: calc(1700ms + 500ms); animation-delay: calc(1700ms + 500ms); } a > span:nth-child(10) i:nth-child(6) { -webkit-animation-delay: calc(1700ms + 600ms); animation-delay: calc(1700ms + 600ms); } a > span:nth-child(10) i:nth-child(7) { -webkit-animation-delay: calc(1700ms + 700ms); animation-delay: calc(1700ms + 700ms); } a > span:nth-child(10) i:nth-child(8) { -webkit-animation-delay: calc(1700ms + 800ms); animation-delay: calc(1700ms + 800ms); } a > span:nth-child(10) i:nth-child(9) { -webkit-animation-delay: calc(1700ms + 900ms); animation-delay: calc(1700ms + 900ms); } a > span:nth-child(10) i:nth-child(10) { -webkit-animation-delay: calc(1700ms + 1000ms); animation-delay: calc(1700ms + 1000ms); } @-webkit-keyframes shift { 0% { -webkit-transform: translate(-0.25em, 0); transform: translate(-0.25em, 0); } 50% { -webkit-transform: translate(0.25em, 0); transform: translate(0.25em, 0); } } @keyframes shift { 0% { -webkit-transform: translate(-0.25em, 0); transform: translate(-0.25em, 0); } 50% { -webkit-transform: translate(0.25em, 0); transform: translate(0.25em, 0); } }
JavaScript
document.querySelector('a').innerHTML = `
${document.querySelector('a').innerHTML.split('').join('
')}
`; [...document.querySelectorAll('span')].forEach($e => { $e.innerHTML = $e.innerHTML + `
${$e.innerHTML}
`.repeat(7) })
粒子
时间
文字
hover
canvas
3d
游戏
音乐
火焰
水波
轮播图
鼠标跟随
动画
css
加载动画
导航
菜单
按钮
滑块
tab
弹出层
统计图
svg
×
Close
在线代码下载提示
开通在线代码永久免费下载,需支付20jQ币
开通后,在线代码模块中所有代码可终身免费下!
您已开通在线代码永久免费下载,关闭提示框后,点下载代码可直接下载!
您已经开通过在线代码永久免费下载
对不起,您的jQ币不足!可通过发布资源 或
直接充值获取jQ币
取消
开通下载
<!doctype html> <html> <head> <meta charset="utf-8"> <title>喝醉的文字动画-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号