modified: date.html

modified:   styles.css
This commit is contained in:
IrisVega 2024-07-09 10:34:47 +08:00
parent c0f325f063
commit e98c6b6726
2 changed files with 3 additions and 3 deletions

View File

@ -8,7 +8,7 @@
<link rel="stylesheet" href="styles.css"> <link rel="stylesheet" href="styles.css">
</head> </head>
<body background="./bg.png" style="background-size:100% 100%; background-attachment: fixed;"> <body background="./bg.png" style="background-size:100% 100%; background-attachment: fixed;">
<button class="closeB" id="closeButton">x</button> <button class="closeButton" id="closeButton">x</button>
<h3>你选择的日期为:</h3> <h3>你选择的日期为:</h3>
<div id="selectedDate">No date selected</div> <div id="selectedDate">No date selected</div>
<script src="script.js"></script> <script src="script.js"></script>

View File

@ -132,7 +132,7 @@ span {
font-size: 1.2em; font-size: 1.2em;
font-weight: bold; font-weight: bold;
} }
.closeB { .closeButton {
background-color: #ff69b4; /* 粉色背景 */ background-color: #ff69b4; /* 粉色背景 */
color: #fff; /* 白色文字 */ color: #fff; /* 白色文字 */
border: none; border: none;
@ -143,6 +143,6 @@ span {
font-size: 12px; /* 调整字体大小 */ font-size: 12px; /* 调整字体大小 */
} }
.closeB:hover { .closeButton:hover {
background-color: #ff1493; /* 深粉色背景 */ background-color: #ff1493; /* 深粉色背景 */
} }