modified: date.html
modified: styles.css
This commit is contained in:
parent
c3d8319941
commit
c0f325f063
@ -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 id="closeButton">x</button>
|
<button class="closeB" 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>
|
||||||
|
14
styles.css
14
styles.css
@ -131,4 +131,18 @@ input[type="range"] {
|
|||||||
span {
|
span {
|
||||||
font-size: 1.2em;
|
font-size: 1.2em;
|
||||||
font-weight: bold;
|
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; /* 深粉色背景 */
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user