From 20c33398f76b934dba6f3eaf50443624c2c46d99 Mon Sep 17 00:00:00 2001 From: liudan <18634735655@163.com> Date: Fri, 23 Dec 2022 18:28:07 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- css/index.css | 6 +++++- index.html | 2 +- js/index.js | 7 ++++--- 3 files changed, 10 insertions(+), 5 deletions(-) diff --git a/css/index.css b/css/index.css index 4b1f7f8..ff59781 100644 --- a/css/index.css +++ b/css/index.css @@ -442,6 +442,10 @@ a:active{ display: block; width: 100%; } +.category__item .imgcontainer{ + background-size: cover; + height:150px; +} .business-effect .e-img-r { position: absolute; top: 0; right: -100%; width: 100%; height: 100%; -webkit-transition: all 0.5s; -o-transition: all 0.5s; -moz-transition: all 0.5s; transition: all 0.5s; } .business-effect .e-img-r img { display: block;height: 100%; width: 100%; } .transition-3{ @@ -543,7 +547,7 @@ a:active{ .middleContent .imgcontainer img{ width:100%; /* height:100%; */ - height: 140px + /* height: 140px */ } .middleContent .contenttitle{ color:#000000; diff --git a/index.html b/index.html index 615e8dd..938f6c5 100644 --- a/index.html +++ b/index.html @@ -25,7 +25,7 @@ - + +