样式调整

virtual
15008401624 2020-12-08 09:30:29 +08:00
parent e999dbac33
commit b4dcf382ce
1 changed files with 2 additions and 1 deletions

View File

@ -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;}