无编辑摘要 |
小无编辑摘要 |
||
第1行: | 第1行: | ||
.transport-card { | |||
position: absolute; | |||
padding: 15px; | |||
background: var( --color-surface-1 ); | |||
border-radius: 8px; | |||
box-shadow: 0 3px 6px rgba( 0, 0, 0, 0.04 ), 0 3px 6px rgba( 0, 0, 0, 0.0575 ); | |||
font-size: 0.875rem; | |||
} | |||
.transport-image { | .transport-image { | ||
position: absolute; | position: absolute; | ||
top: 0; | top: 0; |
2023年9月20日 (三) 21:56的版本
.transport-card {
position: absolute;
padding: 15px;
background: var( --color-surface-1 );
border-radius: 8px;
box-shadow: 0 3px 6px rgba( 0, 0, 0, 0.04 ), 0 3px 6px rgba( 0, 0, 0, 0.0575 );
font-size: 0.875rem;
}
.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;
}