<!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 {
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
margin: 0;
background-color: #f0f0f0;
font-family: Arial, sans-serif;
}
.billboard {
width: 400px;
height: 200px;
background-color: #ff5722;
color: white;
display: flex;
justify-content: center;
align-items: center;
font-size: 32px;
font-weight: bold;
text-align: center;
border-radius: 10px;
box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
animation: flash 1.5s infinite;
position: relative;
overflow: hidden;
}
.billboard::before {
content: "";
position: absolute;
top: -50%;
left: -50%;
width: 200%;
height: 200%;
background: linear-gradient(
to bottom right,
rgba(255, 255, 255, 0.3),
rgba(255, 255, 255, 0)
);
transform: rotate(30deg);
animation: shine 3s infinite;
}
.website {
position: absolute;
bottom: 15px;
font-size: 16px;
color: rgba(255, 255, 255, 0.8);
}
@keyframes flash {
0%, 100% {
background-color: #ff5722;
transform: scale(1);
}
25% {
background-color: #e91e63;
}
50% {
background-color: #2196f3;
transform: scale(1.02);
}
75% {
background-color: #4caf50;
}
}
@keyframes shine {
0% {
left: -50%;
top: -50%;
}
100% {
left: 150%;
top: 150%;
}
}
</style>
</head>
<body>
</body>
</html>
闪动广告牌案例
于 2025-05-24 16:22:24 首次发布
1766

被折叠的 条评论
为什么被折叠?



