From 7c18065b533095d08d29f200b2c1e77edd83cc82 Mon Sep 17 00:00:00 2001 From: yiqiu Date: Sun, 23 Nov 2025 01:45:37 +0800 Subject: [PATCH] =?UTF-8?q?=E6=89=93=E5=8F=91=E5=8F=91=E5=8F=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- css/index.css | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/css/index.css b/css/index.css index 663e2d7..8bf1c19 100644 --- a/css/index.css +++ b/css/index.css @@ -273,7 +273,6 @@ .banner-cont .swiper-slide .section-content .title-wrapper { display: inline-block; max-width: 650px; - width: 100%; } .banner-cont .swiper-slide h1 { @@ -284,15 +283,15 @@ letter-spacing: -1px; margin-bottom: 0; display: inline-block; - width: 100%; - background: linear-gradient(90deg, + width: auto; + background: linear-gradient(120deg, rgba(255, 255, 255, 0.3) 0%, - rgba(255, 255, 255, 1) 25%, + rgba(255, 255, 255, 0.3) 40%, rgba(255, 255, 255, 1) 50%, - rgba(255, 255, 255, 0.3) 75%, + rgba(255, 255, 255, 0.3) 60%, rgba(255, 255, 255, 0.3) 100% ); - background-size: 200% 100%; + background-size: 200% 200%; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; @@ -301,10 +300,10 @@ @keyframes shine { 0% { - background-position: -200% 0; + background-position: -200% -200%; } 100% { - background-position: 200% 0; + background-position: 200% 200%; } }