<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>炫酷手机信号加载特效</title>
<style>
body {
margin: 0;
padding: 0;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
background-color: #121212;
font-family: Arial, sans-serif;
overflow: hidden;
}
.container {
position: relative;
width: 300px;
height: 300px;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}
.signal-bars {
display: flex;
align-items: flex-end;
height: 120px;
margin-bottom: 30px;
}
.bar {
width: 20px;
margin: 0 5px;
background: linear-gradient(to top, #00ff88, #00a1ff);
border-radius: 5px 5px 0 0;
position: relative;
overflow: hidden;
}
.bar::after {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
height: 100%;
background: rgba(255, 255, 255, 0.2);
transform: translateY(-100%);
animation: wave 2s infinite ease-in-out;
}
.bar:nth-child(1) {
height: 30px;
}
.bar:nth-child(2) {
height: 60px;
animation-delay: 0.2s;
}
.bar:nth-child(3) {
height: 90px;
animation-delay: 0.4s;
}
.bar:nth-child(4) {
height: 120px;
animation-delay: 0.6s;
}
.bar:nth-child(5) {
height: 150px;
animation-delay: 0.8s;
}
@keyframes wave {
0% {
transform: translateY(-100%);
}
50% {
transform: translateY(0);
}
100% {
transform: translateY(-100%);
}
}
.loading-text {
color: #fff;
font-size: 18px;
margin-top: 20px;
text-align: center;
}
.dots {
display: inline-block;
}
.dots span {
display: inline-block;
width: 8px;
height: 8px;
border-radius: 50%;
background-color: #00ff88;
margin: 0 3px;
opacity: 0;
}
.dots span:nth-child(1) {
animation: dotPulse 1.5s infinite;
}
.dots span:nth-child(2) {
animation: dotPulse 1.5s infinite 0.3s;
}
.dots span:nth-child(3) {
animation: dotPulse 1.5s infinite 0.6s;
}
@keyframes dotPulse {
0%, 100% {
opacity: 0.2;
transform: scale(0.8);
}
50% {
opacity: 1;
transform: scale(1.2);
}
}
.url-link {
position: absolute;
bottom: 20px;
color: rgba(255, 255, 255, 0.5);
font-size: 12px;
text-decoration: none;
transition: color 0.3s;
}
.url-link:hover {
color: #00ff88;
}
.signal-strength {
color: #00ff88;
font-size: 14px;
margin-top: 10px;
text-align: center;
opacity: 0;
animation: fadeIn 2s forwards 1s;
}
@keyframes fadeIn {
to {
opacity: 1;
}
}
.circle {
position: absolute;
width: 250px;
height: 250px;
border: 2px solid rgba(0, 161, 255, 0.1);
border-radius: 50%;
animation: pulse 4s infinite ease-in-out;
}
.circle:nth-child(2) {
width: 200px;
height: 200px;
animation-delay: 1s;
}
.circle:nth-child(3) {
width: 150px;
height: 150px;
animation-delay: 2s;
}
@keyframes pulse {
0%, 100% {
transform: scale(1);
opacity: 0.1;
}
50% {
transform: scale(1.1);
opacity: 0.3;
}
}
</style>
</head>
<body>
<div class="container">
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="signal-bars">
<div class="bar"></div>
<div class="bar"></div>
<div class="bar"></div>
<div class="bar"></div>
<div class="bar"></div>
</div>
<div class="loading-text">
正在搜索信号
<div class="dots">
<span></span>
<span></span>
<span></span>
</div>
</div>
<div class="signal-strength">
信号强度: 85% | 连接速度: 高速
</div>
</div>
</body>
</html>
炫酷手机信号加载特效
于 2025-05-27 15:16:06 首次发布