From f1faa5fe3a109ab525f6bc53bf3dde4fc7557aa7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BE=A1=E5=9D=82=E6=98=B4?= Date: Fri, 28 Feb 2025 00:31:15 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=8C=E5=96=84=EF=BC=9A=E5=AE=9E=E9=AA=8C?= =?UTF-8?q?=E4=B8=80=20=E5=AF=BC=E8=88=AA=E6=A0=8F=20=E6=90=9C=E7=B4=A2?= =?UTF-8?q?=E4=B8=8B=E6=8B=89=E8=8F=9C=E5=8D=95=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- homework1/.vscode/settings.json | 3 +++ homework1/index.css | 29 +++++++++++++++++++++++++++++ homework1/index.html | 4 ++-- 3 files changed, 34 insertions(+), 2 deletions(-) diff --git a/homework1/.vscode/settings.json b/homework1/.vscode/settings.json index 2ee196d..0667f8b 100644 --- a/homework1/.vscode/settings.json +++ b/homework1/.vscode/settings.json @@ -2,8 +2,11 @@ "liveServer.settings.port": 5543, "cSpell.words": [ "dropbtn", + "heima", + "itcast", "navobj", "regobj", + "Reseverd", "typeobj" ] } diff --git a/homework1/index.css b/homework1/index.css index 162baa8..7b868a4 100644 --- a/homework1/index.css +++ b/homework1/index.css @@ -195,3 +195,32 @@ text-align: center; font-size: 14px; } + +/* 搜索下拉菜单 */ +#search_form { + padding: 0.8em; + margin-left: -100px; +} + +#search_form form input { + height: 2em; + margin-right: 0.5em; + border: 1px; + border-style: solid; + padding-left: 0.5em; +} + +#search_form form button { + height: 2em; + width: 3em; + background: rgb(240, 120, 24); + border: 2px; + border-style: solid; + border-color: rgb(240, 120, 24); + color: rgb(255, 255, 255); +} + +#search_form form button:hover { + background: rgb(255, 255, 255); + color: rgb(240, 120, 24); +} diff --git a/homework1/index.html b/homework1/index.html index 6fc1f0c..1679322 100644 --- a/homework1/index.html +++ b/homework1/index.html @@ -46,9 +46,9 @@ 搜索 -