(创建页面,内容为“.transport-image { position: absolute; top: 0; right: 0; bottom: 0; left: 0; border-radius: 8px; overflow: hidden; } .transport-image img { width: 100%; height: 100%; object-fit: cover; object-position: center; border-radius: 8px; transition: cubic-bezier(0,.8,.2,1) 0.5s; } .transport-image img:hover { transform: scale(1.1); transition: cubic-bezier(0,.8,.2,1) 0.5s; }”) |
小无编辑摘要 |
||
第7行: | 第7行: | ||
border-radius: 8px; | border-radius: 8px; | ||
overflow: hidden; | overflow: hidden; | ||
border-top: 1px solid #ddd; | |||
margin-top: 6px; | |||
padding-top: 6px; | |||
} | } | ||
2023年9月20日 (三) 21:50的版本
.transport-image {
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
border-radius: 8px;
overflow: hidden;
border-top: 1px solid #ddd;
margin-top: 6px;
padding-top: 6px;
}
.transport-image img {
width: 100%;
height: 100%;
object-fit: cover;
object-position: center;
border-radius: 8px;
transition: cubic-bezier(0,.8,.2,1) 0.5s;
}
.transport-image img:hover {
transform: scale(1.1);
transition: cubic-bezier(0,.8,.2,1) 0.5s;
}