From dfce476a0eaa307fc3d08d2e75740900d57fd296 Mon Sep 17 00:00:00 2001 From: Cx330 <1487537121@qq.com> Date: Thu, 27 Mar 2025 15:45:47 +0800 Subject: [PATCH] test --- css/body.css | 7 +++++++ css/footer.css | 16 ++++++++++++++++ 2 files changed, 23 insertions(+) create mode 100644 css/body.css create mode 100644 css/footer.css diff --git a/css/body.css b/css/body.css new file mode 100644 index 0000000..7f70599 --- /dev/null +++ b/css/body.css @@ -0,0 +1,7 @@ +/* 基本样式重置 */ +body, html { + margin: 0; + padding: 0; + font-family: Arial, sans-serif; /* 默认字体 */ + background-color:#f4f4f4; +} \ No newline at end of file diff --git a/css/footer.css b/css/footer.css new file mode 100644 index 0000000..3d18006 --- /dev/null +++ b/css/footer.css @@ -0,0 +1,16 @@ +/* 页脚样式 - 默认 (电脑设备) */ +footer { + background-color: rgba(51, 51, 51, 0.5); /* 半透明背景 */ + color: white; + display: flex; + justify-content: center; + align-items: center; + padding: 0px; + position: fixed; + left: 0; + right: 0; + bottom: 0; + font-size: 14px; + max-height: 30px; + z-index: 2000; +}