你连错了投屏
分类:
娱乐
简介:代码 <!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;
height: 100vh;
display: flex;
justify content: center;
align items: center;
background color: #f5f5f5;
font family: "Microsoft YaHei", sans serif;
}
.error container {
text align: center;
animation: fadeIn 1s ease in;
}
.error icon {
font size: 80px;
color: #ff4d4d;
margin bottom: 20px;
animation: bounce 2s infinite;
}
.error message {
font size: 24px;
color: #333;
margin bottom: 15px;
}
@keyframes bounce {
0%,
20%,
50%,
80%,
100% {
transform: translateY(0);
}
40% {
transform: translateY( 30px);
}
60% {
transform: translateY( 15px);
}
}
@keyframes fadeIn {
from {
opacity: 0;
transform: translateY( 20px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
.retry button {
padding: 10px 20px;
font size: 16px;
background color: #4CAF50;
color: white;
border: none;
border radius: 5px;
cursor: pointer;
transition: background color 0.3s;
}
.retry button:hover {
background color: #45a049;
}
</style>
</head>
<body>
<div class="error container">
<div class="error icon">❌</div>
<div class="error message">你连错了投屏</div>
<button class="retry button" onclick="window.location.reload()">检查Wi Fi</button>
</div>
</body>
</html>