From b4dcf382ce97b4c41a247118adb9c0e8641d89a8 Mon Sep 17 00:00:00 2001 From: 15008401624 <597081433@qq.com> Date: Tue, 8 Dec 2020 09:30:29 +0800 Subject: [PATCH] =?UTF-8?q?=E6=A0=B7=E5=BC=8F=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/static/css/style.css | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/public/static/css/style.css b/public/static/css/style.css index 25adfc3..d76434a 100644 --- a/public/static/css/style.css +++ b/public/static/css/style.css @@ -351,9 +351,10 @@ input,select,textarea{outline:medium none; resize: none;} .product-box .center-block ul{ margin: 0 -1.25rem;} .product-box .center-block ul li{ width: 25%; float: left; padding: 0 1.25rem; margin-top: 2.5rem;} .product-box .center-block ul li a{ width: 100%; float: left;} -.product-box .center-block ul li a span{ width: 100%; float: left; height: 14rem; overflow: hidden;} +.product-box .center-block ul li a span{ width: 100%; float: left; height: 14rem; overflow: hidden; transition: all .6s;} .product-box .center-block ul li a span img{ width: 100%; height: 100%; object-fit: cover; transition: all .6s;} .product-box .center-block ul li a p{ width: 100%; float: left; text-align: center; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; margin-top: 0.625rem;} +.product-box .center-block ul li a:hover span{ box-shadow: 0 0 15px rgba(0,0,0,0.15);} .product-box .center-block ul li a:hover span img{ transform: scale(1.1);} .pager{ margin: 3rem 0 0;}