<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>收音机 404 动画特效</title>
<style>
body {
background-color: #000;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
margin: 0;
}
#radio-container {
position: relative;
width: 300px;
height: 200px;
}
#radio {
width: 100%;
height: 100%;
background-color: #333;
border-radius: 10px;
box-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
position: relative;
}
#antenna {
width: 2px;
height: 80px;
background-color: #fff;
position: absolute;
top: -80px;
left: 50%;
transform-origin: bottom center;
animation: antennaWave 2s infinite alternate;
}
#speaker {
width: 80%;
height: 60%;
background-color: #222;
border-radius: 5px;
position: absolute;
top: 20%;
left: 10%;
display: flex;
justify-content: center;
align-items: center;
color: #ff0000;
font-size: 2rem;
overflow: hidden;
}
#message {
white-space: nowrap;
animation: scrollText 10s linear infinite;
}
#link {
position: absolute;
bottom: 20px;
right: 20px;
}
#link a {
color: white;
text-decoration: none;
background-color: rgba(0, 0, 0, 0.5);
padding: 10px 20px;
border-radius: 5px;
transition: background-color 0.3s ease;
}
#link a:hover {
background-color: rgba(0, 0, 0, 0.8);
}
@keyframes antennaWave {
from {
transform: rotate(-15deg);
}
to {
transform: rotate(15deg);
}
}
@keyframes scrollText {
from {
transform: translateX(100%);
}
to {
transform: translateX(-100%);
}
}
</style>
</head>
<body>
<div id="radio-container">
<div id="antenna"></div>
<div id="radio">
<div id="speaker">
<div id="message">404 - Page Not Found</div>
</div>
</div>
</div>
<div id="link">
<a href="https://www.99j.skin">www.99j.skin</a>
</div>
</body>
</html>