From 0c42224e2a23e9bc7e83f3ee02dde3ce3b06994c Mon Sep 17 00:00:00 2001 From: Cx330 <1487537121@qq.com> Date: Thu, 16 Oct 2025 20:51:00 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0svg=E5=8A=A8=E6=95=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- css/svg.css | 14 ++++++++++++++ index.html | 33 +++++++++++++++++---------------- svg/snake-Light.svg | 1 + 3 files changed, 32 insertions(+), 16 deletions(-) create mode 100644 css/svg.css create mode 100644 svg/snake-Light.svg diff --git a/css/svg.css b/css/svg.css new file mode 100644 index 0000000..c30869c --- /dev/null +++ b/css/svg.css @@ -0,0 +1,14 @@ +/* PC端设置 */ +#tanChiShe { + width: clamp(100px, 40vw, 600px); + height: auto; + display: block; + margin: 0 auto; +} + +/* 移动端适配 */ +@media (max-width: 768px) { + #tanChiShe { + width: clamp(100px, 80vw, 600px); + } +} \ No newline at end of file diff --git a/index.html b/index.html index de55ae5..f84e665 100644 --- a/index.html +++ b/index.html @@ -4,17 +4,18 @@
此处预留未来内容
+