From c0f325f063355ebb5396961b055a1c11c2b7b6f0 Mon Sep 17 00:00:00 2001 From: IrisVega Date: Tue, 9 Jul 2024 10:09:16 +0800 Subject: [PATCH] modified: date.html modified: styles.css --- date.html | 2 +- styles.css | 14 ++++++++++++++ 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/date.html b/date.html index 5aeece4..87fa501 100644 --- a/date.html +++ b/date.html @@ -8,7 +8,7 @@ - +

你选择的日期为:

No date selected
diff --git a/styles.css b/styles.css index fd651dc..441f4de 100644 --- a/styles.css +++ b/styles.css @@ -131,4 +131,18 @@ input[type="range"] { 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; /* 深粉色背景 */ } \ No newline at end of file