Toggle navigation
在线编辑器
在线代码
文本比较
jQuery下载
前端库
在线手册
登录/注册
下载代码
html
css
js
分享到微信朋友圈
X
html
css
*, *::before, *::after { padding: 0; margin: 0 auto; box-sizing: border-box; } body { background-color: #000; color: #fff; min-height: 100vh; display: flex; justify-content: center; align-items: center; perspective: 750px; overflow: hidden; } .container { position: relative; transform-style: preserve-3d; -webkit-animation: rotate 32.4s infinite linear; animation: rotate 32.4s infinite linear; } @-webkit-keyframes rotate { from { transform: rotatex(0deg) rotateY(0deg) rotateZ(0deg); } to { transform: rotatex(360deg) rotateY(720deg) rotateZ(360deg); } } @keyframes rotate { from { transform: rotatex(0deg) rotateY(0deg) rotateZ(0deg); } to { transform: rotatex(360deg) rotateY(720deg) rotateZ(360deg); } } .pole { position: absolute; transform-style: preserve-3d; } .pole:nth-child(1) { transform: rotate(0deg) translateX(150px); } .pole:nth-child(1) > div::before { -webkit-animation-delay: -1s; animation-delay: -1s; } .pole:nth-child(2) { transform: rotate(60deg) translateX(150px); } .pole:nth-child(2) > div::before { -webkit-animation-delay: -3s; animation-delay: -3s; } .pole:nth-child(3) { transform: rotate(120deg) translateX(150px); } .pole:nth-child(3) > div::before { -webkit-animation-delay: -5s; animation-delay: -5s; } .pole:nth-child(4) { transform: rotate(180deg) translateX(150px); } .pole:nth-child(4) > div::before { -webkit-animation-delay: -7s; animation-delay: -7s; } .pole:nth-child(5) { transform: rotate(240deg) translateX(150px); } .pole:nth-child(5) > div::before { -webkit-animation-delay: -9s; animation-delay: -9s; } .pole:nth-child(6) { transform: rotate(300deg) translateX(150px); } .pole:nth-child(6) > div::before { -webkit-animation-delay: -11s; animation-delay: -11s; } .pole > div { position: absolute; background-color: #111; box-shadow: 0 0 25px #000 inset; overflow: hidden; } .pole > div::before { content: ""; position: absolute; top: 50%; left: 50%; width: 100%; height: 100px; opacity: 0.25; animation: poleBack 4s infinite linear, poleColor 12s infinite step-end reverse; } @-webkit-keyframes poleBack { 0% { transform: translate(-50%, calc(-50% + (var(--pb1) * 50px))) skewY(calc(var(--pb2) * 1)); } 100% { transform: translate(-50%, calc(-50% - (var(--pb1) * 50px))) skewY(calc(var(--pb2) * -1)); } } @keyframes poleBack { 0% { transform: translate(-50%, calc(-50% + (var(--pb1) * 50px))) skewY(calc(var(--pb2) * 1)); } 100% { transform: translate(-50%, calc(-50% - (var(--pb1) * 50px))) skewY(calc(var(--pb2) * -1)); } } @-webkit-keyframes poleColor { 0% { background-image: linear-gradient(#0ff0, #0ff, #0ff0); } 33.333% { background-image: linear-gradient(#f0f0, #f0f, #f0f0); } 66.666% { background-image: linear-gradient(#ff00, #ff0, #ff00); } } @keyframes poleColor { 0% { background-image: linear-gradient(#0ff0, #0ff, #0ff0); } 33.333% { background-image: linear-gradient(#f0f0, #f0f, #f0f0); } 66.666% { background-image: linear-gradient(#ff00, #ff0, #ff00); } } .pole > div:nth-child(1) { width: 50px; height: 202.5px; transform: translate(-50%, -50%) translateZ(25px); -webkit-clip-path: polygon(100% 0, 100% 100%, 0 173.5px, 0 29px); clip-path: polygon(100% 0, 100% 100%, 0 173.5px, 0 29px); --pb1: 3.47; --pb2: 55deg; } .pole > div:nth-child(2) { width: 50px; height: 202.5px; transform: translate(-50%, -50%) rotateY(90deg) translateZ(25px); --pb1: 4.05; --pb2: 0deg; } .pole > div:nth-child(3) { width: 50px; height: 202.5px; transform: translate(-50%, -50%) rotateY(180deg) translateZ(25px); -webkit-clip-path: polygon(0 0, 0 100%, 100% 173.5px, 100% 29px); clip-path: polygon(0 0, 0 100%, 100% 173.5px, 100% 29px); --pb1: 3.47; --pb2: -55deg; } .pole > div:nth-child(4) { width: 50px; height: 144.5px; transform: translate(-50%, -50%) rotateY(270deg) translateZ(25px); --pb1:2.89; --pb2: 0deg; } .neon { position: absolute; top: 85px; left: -150px; width: 100px; height: 100px; border: 2px solid var(--clr); transform: translate(-50%, -50%) rotateY(90deg) rotateX(120deg); transform-style: preserve-3d; -webkit-animation: neonRotate 12s infinite linear; animation: neonRotate 12s infinite linear; box-shadow: 0 0 10px var(--clr) inset, 0 0 10px var(--clr); } .neon_a { --clr: #0ff; } .neon_b { --clr: #f0f; -webkit-animation-delay: -4s; animation-delay: -4s; } .neon_c { --clr: #ff0; -webkit-animation-delay: -8s; animation-delay: -8s; } .neon > div { position: absolute; background-color: var(--clr); box-shadow: 0 0 10px var(--clr); } .neon > div:nth-child(1) { top: -1px; left: -1px; width: calc(100% + 2px); height: 2px; transform: translateY(-50%) rotateX(90deg); } .neon > div:nth-child(2) { top: -1px; left: -2px; width: 2px; height: calc(100% + 2px); transform: rotateY(90deg); } .neon > div:nth-child(3) { bottom: -1px; left: -1px; width: calc(100% + 2px); height: 2px; transform: translateY(50%) rotateX(90deg); } .neon > div:nth-child(4) { top: -1px; right: -2px; width: 2px; height: calc(100% + 2px); transform: rotateY(90deg); } @-webkit-keyframes neonRotate { 0% { top: -170px; left: 0; transform: translate(-50%, -50%) rotateY(90deg) rotateX(0); } 16.666% { top: -85px; left: -150px; transform: translate(-50%, -50%) rotateY(90deg) rotateX(60deg); } 33.333% { top: 85px; left: -150px; transform: translate(-50%, -50%) rotateY(90deg) rotateX(120deg); } 50% { top: 170px; left: 0; transform: translate(-50%, -50%) rotateY(90deg) rotateX(180deg); } 66.666% { top: 85px; left: 150px; transform: translate(-50%, -50%) rotateY(90deg) rotateX(240deg); } 83.333% { top: -85px; left: 150px; transform: translate(-50%, -50%) rotateY(90deg) rotateX(300deg); } 100% { top: -170px; left: 0; transform: translate(-50%, -50%) rotateY(90deg) rotateX(360deg); } } @keyframes neonRotate { 0% { top: -170px; left: 0; transform: translate(-50%, -50%) rotateY(90deg) rotateX(0); } 16.666% { top: -85px; left: -150px; transform: translate(-50%, -50%) rotateY(90deg) rotateX(60deg); } 33.333% { top: 85px; left: -150px; transform: translate(-50%, -50%) rotateY(90deg) rotateX(120deg); } 50% { top: 170px; left: 0; transform: translate(-50%, -50%) rotateY(90deg) rotateX(180deg); } 66.666% { top: 85px; left: 150px; transform: translate(-50%, -50%) rotateY(90deg) rotateX(240deg); } 83.333% { top: -85px; left: 150px; transform: translate(-50%, -50%) rotateY(90deg) rotateX(300deg); } 100% { top: -170px; left: 0; transform: translate(-50%, -50%) rotateY(90deg) rotateX(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号