Toggle navigation
在线编辑器
在线代码
文本比较
jQuery下载
前端库
在线手册
登录/注册
下载代码
html
css
js
分享到微信朋友圈
X
html
css
body, html { height: 100%; display: grid; } body { background: #fff; animation: invert 4s cubic-bezier(0.25, 0.125, 0.25, 0.85) infinite -0.65s; margin: 0px; padding: 0px; } body:before { content: ""; position: absolute; width: 100%; height: 100%; top: 0; left: 0; background: blue; z-index: 10; mix-blend-mode: lighten; } .pattern1 { position: relative; width: 60px; height: 224px; margin: auto; } .pattern1:before, .pattern1:after { content: ""; box-shadow: 0 0 0 2px #000; position: absolute; background-image: url("data:image/svg+xml, %3Csvg width='24' height='24' viewBox='0 0 24 24' style='transform:scaleY(-1)' xmlns='http://www.w3.org/2000/svg'%3E%3Cdefs%3E%3Cstyle%3E.dot%7Bstroke:%23000;stroke-linecap:round; stroke-width:4px; animation:bounce 1s cubic-bezier(0.75,0.125,0.25,0.85) infinite;%7D @keyframes bounce%7B 50%25%7B transform:translateY(-9px); %7D %7D.dash%7Bstroke:%23000;stroke-width:2px;transform-origin:6px 6.5px;stroke-linecap:round;animation:turn 1s cubic-bezier(0.25,0.125,0.25,0.45) infinite%7D @keyframes turn%7B 50%25%7B transform:rotate(90deg); %7D 100%25%7B transform:rotate(180deg); %7D %7D;%3C/style%3E%3C/defs%3E%3Cpath class='dash' d='M 6 0 L 6 13'/%3E%3Cpath class='dot' d='M 6 18 L 6 18' /%3E%3C/svg%3E"), url("data:image/svg+xml, %3Csvg width='24' height='24' viewBox='0 0 24 24' style='transform:scaleY(-1)' xmlns='http://www.w3.org/2000/svg'%3E%3Cdefs%3E%3Cstyle%3E.dot%7Bstroke:%23000;stroke-linecap:round; stroke-width:4px; animation:bounce 1s cubic-bezier(0.75,0.125,0.25,0.85) infinite;%7D @keyframes bounce%7B 50%25%7B transform:translateY(-9px); %7D %7D.dash%7Bstroke:%23000;stroke-width:2px;transform-origin:6px 6.5px;stroke-linecap:round;animation:turn 1s cubic-bezier(0.25,0.125,0.25,0.45) infinite%7D @keyframes turn%7B 50%25%7B transform:rotate(90deg); %7D 100%25%7B transform:rotate(180deg); %7D %7D;%3C/style%3E%3C/defs%3E%3Cpath class='dash' d='M 6 0 L 6 13'/%3E%3Cpath class='dot' d='M 6 18 L 6 18' /%3E%3C/svg%3E"), linear-gradient(to right, #fff, #fff); background-position: 0 calc(50% + 12px), 12px 50%; } @keyframes bgShift { to { background-position: 24px calc(50% + 36px), 36px calc(50% + 24px); } } .pattern1:before { width: 75px; height: 75px; border-radius: 100%; bottom: 100%; left: calc(50% - 37.5px); animation: bgShift 5s linear infinite, bounce 1s cubic-bezier(0.85, 0.25, 0.25, 0.85) infinite, invert 4s cubic-bezier(0.25, 0.125, 0.25, 0.85) infinite -0.65s; transform: translateY(0) scaleY(0.85) scaleX(1.15); transform-origin: bottom; } @keyframes bounce { 50% { transform: translateY(-112.5px) scaleY(1.05) scaleX(1); } } @keyframes invert { 12.49% { filter: invert(0); } 12.5% { filter: invert(1); } 62.49% { filter: invert(1); } 62.5% { filter: invert(0); } } .pattern1:after { content: ""; position: absolute; width: 100%; height: 100%; left: 0; top: 0; box-shadow: inset 0 0 0 2px #fff, 0 0 0 2px #000; -webkit-mask: radial-gradient(ellipse at top, transparent 50px, #000 50px) 50% calc(0% - 20px)/600px 180px no-repeat, radial-gradient(ellipse at bottom, transparent 50px, #000 50px) 50% calc(100% + 20px)/600px 180px no-repeat; -webkit-mask-position: 50% calc(0% - 50px), 50% calc(100% + 50px); animation: bgShift 5s linear infinite, turn 4s cubic-bezier(0.25, 0.125, 0.25, 1.15) infinite -0.05s, bend 4s ease-in-out infinite; } @keyframes bend { 0% { -webkit-mask-position: 50% calc(0% - 20px), 50% calc(100% + 50px); } 12.5% { -webkit-mask-position: 50% calc(0% - 50px), 50% calc(100% + 50px); } 25% { -webkit-mask-position: 50% calc(0% - 20px), 50% calc(100% + 50px); } 37.5% { -webkit-mask-position: 50% calc(0% - 50px), 50% calc(100% + 50px); } 50% { -webkit-mask-position: 50% calc(0% - 50px), 50% calc(100% + 20px); } 62.5% { -webkit-mask-position: 50% calc(0% - 50px), 50% calc(100% + 50px); } 75% { -webkit-mask-position: 50% calc(0% - 50px), 50% calc(100% + 20px); } 87.5% { -webkit-mask-position: 50% calc(0% - 50px), 50% calc(100% + 50px); } 100% { -webkit-mask-position: 50% calc(0% - 20px), 50% calc(100% + 50px); } } @keyframes turn { 33% { transform: rotate(0deg); } 50% { transform: rotate(-180deg); } 82% { transform: rotate(-180deg); } 100% { transform: rotate(-360deg); } }
JavaScript
粒子
时间
文字
hover
canvas
3d
游戏
音乐
火焰
水波
轮播图
鼠标跟随
动画
css
加载动画
导航
菜单
按钮
滑块
tab
弹出层
统计图
svg
×
Close
在线代码下载提示
开通在线代码永久免费下载,需支付20jQ币
开通后,在线代码模块中所有代码可终身免费下!
您已开通在线代码永久免费下载,关闭提示框后,点下载代码可直接下载!
您已经开通过在线代码永久免费下载
对不起,您的jQ币不足!可通过发布资源 或
直接充值获取jQ币
取消
开通下载
<!doctype html> <html> <head> <meta charset="utf-8"> <title>css点划线-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号