Toggle navigation
在线编辑器
在线代码
文本比较
jQuery下载
前端库
在线手册
登录/注册
下载代码
html
css
js
分享到微信朋友圈
X
html
PLASMA
PLASMA-2
FILL
BLACK-HOLE
css
body { margin: 50px 0; padding: 0; font-size: 0; font-family: 'Nova Flat'; background: #190a25; color: white; text-align: center; } body h1 { display: block; height: 25px; font-size: 12px; } body > div { display: inline-block; width: 25%; min-width: 500px; margin-bottom: 50px; } body > div > div { margin: 0 auto; } @keyframes plasma { 0% { transform: scale(6) translate3d(20px, 0, 0); } 50% { transform: scale(1) translate3d(-60px, 0, 0); } 100% { transform: scale(6) translate3d(20px, 0, 0); } } .plasma { backface-visibility: hidden; z-index: 20; position: relative; width: 250px; height: 250px; padding: 0; border-radius: 50%; overflow: hidden; } .plasma .gooey-container { filter: url(#gooey-plasma); position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 300px; height: 300px; padding: 0; margin: 0; box-shadow: 0 0 0 20px #ff4081 inset; border-radius: 50%; overflow: hidden; } .plasma .gooey-container .bubble { display: block; position: absolute; top: 50%; left: 50%; width: 100%; text-align: right; } .plasma .gooey-container .bubble:before { content: ""; display: inline-block; background: #ff4081; width: 30px; height: 30px; border-radius: 50%; transform: scale(6) translate3d(20px, 0, 0); box-shadow: 0 0 15px 0 #0000ff inset, 0 0 10px 0 #0000ff inset; } .plasma .gooey-container .bubble:nth-child(1) { transform: translate(-50%, -50%) rotate(60deg); } .plasma .gooey-container .bubble:nth-child(1):before { animation: plasma 3.5s linear 0.25s infinite; } .plasma .gooey-container .bubble:nth-child(2) { transform: translate(-50%, -50%) rotate(120deg); } .plasma .gooey-container .bubble:nth-child(2):before { animation: plasma 4s linear 0.5s infinite; } .plasma .gooey-container .bubble:nth-child(3) { transform: translate(-50%, -50%) rotate(180deg); } .plasma .gooey-container .bubble:nth-child(3):before { animation: plasma 4.5s linear 0.75s infinite; } .plasma .gooey-container .bubble:nth-child(4) { transform: translate(-50%, -50%) rotate(240deg); } .plasma .gooey-container .bubble:nth-child(4):before { animation: plasma 5s linear 1s infinite; } .plasma .gooey-container .bubble:nth-child(5) { transform: translate(-50%, -50%) rotate(300deg); } .plasma .gooey-container .bubble:nth-child(5):before { animation: plasma 5.5s linear 1.25s infinite; } .plasma .gooey-container .bubble:nth-child(6) { transform: translate(-50%, -50%) rotate(360deg); } .plasma .gooey-container .bubble:nth-child(6):before { animation: plasma 6s linear 1.5s infinite; } @keyframes plasma-2 { 0% { transform: scale(1) translate3d(60px, 0, 0); } 50% { transform: scale(2) translate3d(-60px, 0, 0); } 100% { transform: scale(1) translate3d(60px, 0, 0); } } @keyframes plasma-2-rotate { 0% { transform: translate(-50%, -50%) rotate(0deg); } 100% { transform: translate(-50%, -50%) rotate(360deg); } } .plasma-2 { backface-visibility: hidden; z-index: 20; position: relative; overflow: hidden; border-radius: 50%; width: 250px; height: 250px; padding: 0; } .plasma-2 .gooey-container { overflow: hidden; border-radius: 50%; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); filter: url(#gooey-plasma-2); width: 300px; height: 300px; padding: 0; margin: 0; box-shadow: 0 0 0 20px #9900ff inset; animation: plasma-2-rotate 5s linear infinite; } .plasma-2 .gooey-container .bubble { display: block; position: absolute; top: 50%; left: 50%; width: 100%; text-align: right; } .plasma-2 .gooey-container .bubble:before { content: ""; display: inline-block; background: #ff4081; width: 50px; height: 50px; border-radius: 50%; transform: scale(1) translate3d(75px, 0, 0); box-shadow: 0 0 10px 5px #0000ff inset, 0 0 10px 0 #0000ff inset; } .plasma-2 .gooey-container .bubble:nth-child(1) { transform: translate(-50%, -50%) rotate(60deg); } .plasma-2 .gooey-container .bubble:nth-child(1):before { animation: plasma-2 2.5s ease 0.5s infinite; } .plasma-2 .gooey-container .bubble:nth-child(2) { transform: translate(-50%, -50%) rotate(120deg); } .plasma-2 .gooey-container .bubble:nth-child(2):before { animation: plasma-2 5s ease 0.25s infinite; } .plasma-2 .gooey-container .bubble:nth-child(3) { transform: translate(-50%, -50%) rotate(180deg); } .plasma-2 .gooey-container .bubble:nth-child(3):before { animation: plasma-2 7.5s ease 0.1666666667s infinite; } .plasma-2 .gooey-container .bubble:nth-child(4) { transform: translate(-50%, -50%) rotate(240deg); } .plasma-2 .gooey-container .bubble:nth-child(4):before { animation: plasma-2 10s ease 0.125s infinite; } .plasma-2 .gooey-container .bubble:nth-child(5) { transform: translate(-50%, -50%) rotate(300deg); } .plasma-2 .gooey-container .bubble:nth-child(5):before { animation: plasma-2 12.5s ease 0.1s infinite; } .plasma-2 .gooey-container .bubble:nth-child(6) { transform: translate(-50%, -50%) rotate(360deg); } .plasma-2 .gooey-container .bubble:nth-child(6):before { animation: plasma-2 15s ease 0.0833333333s infinite; } @keyframes fill-level { 0% { transform: translate3d(-413px, -53px, 0) rotate(45deg); } 15% { transform: translate3d(-393px, -73px, 0) rotate(25deg); } 30% { transform: translate3d(-343px, -123px, 0) rotate(45deg); } 45% { transform: translate3d(-283px, -183px, 0) rotate(55deg); } 60% { transform: translate3d(-263px, -203px, 0) rotate(45deg); } 75% { transform: translate3d(-243px, -223px, 0) rotate(35deg); } 90% { transform: translate3d(-223px, -243px, 0) rotate(45deg); } 100% { transform: translate3d(-203px, -263px, 0) rotate(55deg); } } .fill { backface-visibility: hidden; z-index: 20; position: relative; width: 250px; height: 250px; padding: 0; border-radius: 50% 50% 50% 50%; overflow: hidden; transform: rotate(-45deg); } .fill .gooey-container { filter: url(#gooey-fill); position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 300px; height: 300px; padding: 0; margin: 0; box-shadow: 0 0 0 18px #0000ff inset; border-radius: 50% 0 50% 50%; overflow: hidden; } .fill .gooey-container .level, .fill .gooey-container .bubble { background: #ff4081; } .fill .gooey-container .level { display: block; margin: 0 auto; position: absolute; top: 300px; left: 50%; width: 500px; height: 350px; text-align: center; transform-origin: 50% 0; transform: translate3d(-413px, -53px, 0) rotate(45deg); animation: fill-level 5s linear infinite; box-shadow: 0 0 100px 0 #0000ff inset, 0 0 200px 0 #0000ff inset; } @keyframes fill-bubbles { 0% { transform: translate3d(-100px, -20px, 0) rotate(0deg); } 50% { transform: translate3d(100px, -40px, 0) rotate(180deg); } 100% { transform: translate3d(-100px, -20px, 0) rotate(360deg); } } .fill .gooey-container .bubble { content: ""; display: inline-block; width: 100px; height: 100px; border-radius: 50%; transform-origin: 50% 50%; transform: rotate(0deg) translate3d(0, 0, 0); box-shadow: 0 0 30px 20px #0000ff inset; } .fill .gooey-container .bubble:nth-child(1) { animation: fill-bubbles 1.5s ease 0.5s infinite; } .fill .gooey-container .bubble:nth-child(2) { animation: fill-bubbles 3s ease 0.25s infinite; } .fill .gooey-container .bubble:nth-child(3) { animation: fill-bubbles 4.5s ease 0.1666666667s infinite; } .fill .gooey-container .bubble:nth-child(4) { animation: fill-bubbles 6s ease 0.125s infinite; } .fill .gooey-container .bubble:nth-child(5) { animation: fill-bubbles 7.5s ease 0.1s infinite; } .fill .gooey-container .bubble:nth-child(6) { animation: fill-bubbles 9s ease 0.0833333333s infinite; } .fill .gooey-container .bubble:nth-child(7) { animation: fill-bubbles 10.5s ease 0.0714285714s infinite; } .fill .gooey-container .bubble:nth-child(8) { animation: fill-bubbles 12s ease 0.0625s infinite; } @keyframes black-hole { 0% { transform: scale(1) translate3d(75px, 0, 0); } 50% { transform: scale(4) translate3d(55px, 0, 0); } 100% { transform: scale(1) translate3d(75px, 0, 0); } } @keyframes black-hole-rotate { 0% { transform: translate(-50%, -50%) rotate(0deg) skew(3deg); } 50% { transform: translate(-50%, -50%) rotate(180deg) skew(0deg); } 100% { transform: translate(-50%, -50%) rotate(360deg) skew(3deg); } } .black-hole { backface-visibility: hidden; z-index: 20; position: relative; overflow: hidden; border-radius: 50%; width: 250px; height: 250px; padding: 0; box-shadow: 0 0 30px 0 #0000ff inset; } .black-hole .gooey-container { overflow: hidden; border-radius: 50%; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%) rotate(0deg) skew(5deg); filter: url(#gooey-plasma-2); width: 300px; height: 300px; padding: 0; margin: 0; box-shadow: 0 0 0 22px #9900ff inset; animation: black-hole-rotate 5s ease infinite; } .black-hole .gooey-container .bubble { display: block; position: absolute; top: 50%; left: 50%; width: 100%; text-align: right; } .black-hole .gooey-container .bubble:before { content: ""; display: inline-block; background: #ff4081; width: 100px; height: 100px; border-radius: 50%; transform: scale(1) translate3d(75px, 0, 0); box-shadow: 0 0 10px 0 #0000ff inset, 0 0 10px 0 #0000ff inset; } .black-hole .gooey-container .bubble:nth-child(1) { transform: translate(-50%, -50%) rotate(60deg); } .black-hole .gooey-container .bubble:nth-child(1):before { animation: black-hole 1s ease 0.5s infinite; } .black-hole .gooey-container .bubble:nth-child(2) { transform: translate(-50%, -50%) rotate(120deg); } .black-hole .gooey-container .bubble:nth-child(2):before { animation: black-hole 2s ease 1s infinite; } .black-hole .gooey-container .bubble:nth-child(3) { transform: translate(-50%, -50%) rotate(180deg); } .black-hole .gooey-container .bubble:nth-child(3):before { animation: black-hole 3s ease 1.5s infinite; } .black-hole .gooey-container .bubble:nth-child(4) { transform: translate(-50%, -50%) rotate(240deg); } .black-hole .gooey-container .bubble:nth-child(4):before { animation: black-hole 4s ease 2s infinite; } .black-hole .gooey-container .bubble:nth-child(5) { transform: translate(-50%, -50%) rotate(300deg); } .black-hole .gooey-container .bubble:nth-child(5):before { animation: black-hole 5s ease 2.5s infinite; } .black-hole .gooey-container .bubble:nth-child(6) { transform: translate(-50%, -50%) rotate(360deg); } .black-hole .gooey-container .bubble:nth-child(6):before { animation: black-hole 6s ease 3s infinite; }
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号