modified: date.html

modified:   styles.css
This commit is contained in:
IrisVega 2024-07-09 10:09:16 +08:00
parent c3d8319941
commit c0f325f063
2 changed files with 15 additions and 1 deletions

View File

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

View File

@ -132,3 +132,17 @@ span {
font-size: 1.2em;
font-weight: bold;
}
.closeB {
background-color: #ff69b4; /* 粉色背景 */
color: #fff; /* 白色文字 */
border: none;
outline: none;
cursor: pointer;
padding: 5px 10px;
transition: 0.3s;
font-size: 12px; /* 调整字体大小 */
}
.closeB:hover {
background-color: #ff1493; /* 深粉色背景 */
}