轮切图片保持宽高比

This commit is contained in:
草莓 2025-02-08 16:26:02 +08:00
parent 6b61489ce2
commit e15eab7417

View File

@ -600,6 +600,7 @@ p#name {
background-size: cover;
background-position: center;
opacity: 0;
object-fit: contain;
transform: translateX(100%) rotateY(30deg);
transition: all 1s cubic-bezier(0.4, 0, 0.2, 1);
border-radius: 10px;