From fe918637432fdffc476797973cbbcf3d36db0277 Mon Sep 17 00:00:00 2001 From: yiqiu Date: Sun, 23 Nov 2025 00:10:09 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A4=A7=E6=B3=95=E5=A4=A7=E6=B3=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- css/index.css | 19 ++++++------------- 1 file changed, 6 insertions(+), 13 deletions(-) diff --git a/css/index.css b/css/index.css index 245f610..d1f5cc4 100644 --- a/css/index.css +++ b/css/index.css @@ -107,7 +107,7 @@ background-blend-mode: normal, normal, normal; } -/* 动态网格背景 */ +/* 深色遮罩层(静态,不移动) */ .banner-cont .swiper-slide::before { content: ''; position: absolute; @@ -115,17 +115,13 @@ left: 0; right: 0; bottom: 0; - /* 添加深色遮罩,让文字更清晰 */ - background: - linear-gradient(90deg, rgba(15, 23, 42, 0.85) 0%, rgba(15, 23, 42, 0.5) 50%, rgba(15, 23, 42, 0.3) 100%), - linear-gradient(rgba(56, 189, 248, 0.03) 1px, transparent 1px), - linear-gradient(90deg, rgba(56, 189, 248, 0.03) 1px, transparent 1px); - background-size: 100% 100%, 50px 50px, 50px 50px; - animation: gridMove 20s linear infinite; + /* 深色渐变遮罩,让文字更清晰 */ + background: linear-gradient(90deg, rgba(15, 23, 42, 0.85) 0%, rgba(15, 23, 42, 0.5) 50%, rgba(15, 23, 42, 0.3) 100%); pointer-events: none; z-index: 1; } +/* 动态网格背景 - 已禁用(视觉干扰) @keyframes gridMove { 0% { transform: translate(0, 0); @@ -134,6 +130,7 @@ transform: translate(50px, 50px); } } +*/ /* 光晕装饰效果 - 已禁用(视觉干扰) .banner-cont .swiper-slide::after { @@ -1434,11 +1431,7 @@ html { /* 平板尺寸下,调整遮罩透明度,文字居中 */ .banner-cont .swiper-slide::before { - background: - linear-gradient(rgba(15, 23, 42, 0.7) 0%, rgba(15, 23, 42, 0.7) 100%), - linear-gradient(rgba(56, 189, 248, 0.03) 1px, transparent 1px), - linear-gradient(90deg, rgba(56, 189, 248, 0.03) 1px, transparent 1px); - background-size: 100% 100%, 50px 50px, 50px 50px; + background: linear-gradient(rgba(15, 23, 42, 0.7) 0%, rgba(15, 23, 42, 0.7) 100%); } .banner-cont .swiper-slide .section-content {