@@ -171,10 +171,13 @@ getCookie()
|
||||
.leftPick {
|
||||
width: 60%;
|
||||
height: 100%;
|
||||
overflow: hidden; // 防止图片溢出
|
||||
img {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
display: block;
|
||||
object-fit: cover; // 保持图片比例,裁剪填充
|
||||
object-position: center; // 图片居中显示
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user