style: 为图片元素添加圆角边框样式
在index.css和index.less中为.content .custom .list .item .info-img添加border-radius属性,使图片显示圆角效果,提升视觉美观度
This commit is contained in:
@@ -676,6 +676,7 @@
|
|||||||
height: 240px;
|
height: 240px;
|
||||||
filter: drop-shadow(5px 5px 2.5px rgba(0, 0, 0, 0.35));
|
filter: drop-shadow(5px 5px 2.5px rgba(0, 0, 0, 0.35));
|
||||||
transition: all 0.3s ease-in-out;
|
transition: all 0.3s ease-in-out;
|
||||||
|
border-radius: 10px;
|
||||||
}
|
}
|
||||||
.content .custom .list .item .info-img:hover {
|
.content .custom .list .item .info-img:hover {
|
||||||
transform: scale(1.05);
|
transform: scale(1.05);
|
||||||
|
|||||||
@@ -788,6 +788,7 @@
|
|||||||
height: 240px;
|
height: 240px;
|
||||||
filter: drop-shadow(5px 5px 2.5px rgba(0, 0, 0, 0.35));
|
filter: drop-shadow(5px 5px 2.5px rgba(0, 0, 0, 0.35));
|
||||||
transition: all 0.3s ease-in-out;
|
transition: all 0.3s ease-in-out;
|
||||||
|
border-radius: 10px;
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
transform: scale(1.05);
|
transform: scale(1.05);
|
||||||
|
|||||||
Reference in New Issue
Block a user