<!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>
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Arial', sans-serif;
}
body {
background: linear-gradient(to right, #3a1c71, #d76d77, #ffaf7b);
height: 100vh;
display: flex;
justify-content: center;
align-items: center;
color: #fff;
}
.container {
text-align: center;
background-color: rgba(0, 0, 0, 0.4);
padding: 40px;
border-radius: 15px;
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}
h1 {
font-size: 2.5rem;
margin-bottom: 20px;
}
.input-group {
margin-bottom: 20px;
}
label {
font-size: 1.2rem;
}
input[type="number"] {
padding: 10px;
font-size: 1rem
09-19
1545

06-30
204

07-07
2218
