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 @@ DreamLife|HomePage - - - - - - + + + + + + +
@@ -41,7 +42,7 @@
加载中...
-

此处预留未来内容

+
@@ -70,14 +71,14 @@

津公网安备12011402001636号

- - - - - - - - + + + + + + + + \ No newline at end of file diff --git a/svg/snake-Light.svg b/svg/snake-Light.svg new file mode 100644 index 0000000..ae5e0e4 --- /dev/null +++ b/svg/snake-Light.svg @@ -0,0 +1 @@ +Generated with https://github.com/Platane/snk \ No newline at end of file