modified: date.html
modified: styles.css
This commit is contained in:
parent
ec90cc8817
commit
9d4c55b323
@ -8,7 +8,7 @@
|
||||
<link rel="stylesheet" href="styles.css">
|
||||
</head>
|
||||
<body background="./bg.png" style="background-size:100% 100%; background-attachment: fixed;">
|
||||
<button class="closeButton" id="closeButton">x</button>
|
||||
<button class="closeButton2" id="closeButton">x</button>
|
||||
<h3>你选择的日期为:</h3>
|
||||
<div id="selectedDate">No date selected</div>
|
||||
<script src="script.js"></script>
|
||||
|
19
styles.css
19
styles.css
@ -4,7 +4,7 @@
|
||||
|
||||
/* 选项卡按钮样式 */
|
||||
.tab {
|
||||
display: inline-flex;
|
||||
display: flex;
|
||||
overflow: hidden;
|
||||
border: 1px solid #ff69b4; /* 粉色边框 */
|
||||
background-color: #ffc0cb; /* 粉色背景 */
|
||||
@ -58,7 +58,7 @@
|
||||
|
||||
/* 删除按钮样式 */
|
||||
.closeButton {
|
||||
background-color: rgba(255, 255, 255, 0); /* 粉色背景 */
|
||||
background-color: rgba(255, 255, 255, 0); /* 白色背景 */
|
||||
color: #fff; /* 白色文字 */
|
||||
border: none;
|
||||
outline: none;
|
||||
@ -71,7 +71,20 @@
|
||||
.closeButton:hover {
|
||||
background-color: rgba(255, 255, 255, 0.5); /* 深粉色背景 */
|
||||
}
|
||||
.closeButton2 {
|
||||
background-color: #ff69b4; /* 白色背景 */
|
||||
color: #fff; /* 白色文字 */
|
||||
border: none;
|
||||
outline: none;
|
||||
cursor: pointer;
|
||||
padding: 5px 10px;
|
||||
transition: 0.3s;
|
||||
font-size: 12px; /* 调整字体大小 */
|
||||
}
|
||||
|
||||
.closeButton2:hover {
|
||||
background-color: #ff1493; /* 深粉色背景 */
|
||||
}
|
||||
img { height: auto; width: auto\9; width:28%; }
|
||||
|
||||
.cldBody {
|
||||
@ -138,7 +151,7 @@ span {
|
||||
font-weight: bold;
|
||||
}
|
||||
#tab-container {
|
||||
width: 100%; /* 或者您希望的固定宽度 */
|
||||
display: flex;
|
||||
overflow-x: auto;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user