style chages

This commit is contained in:
sdarbinyan
2026-01-23 00:34:16 +04:00
parent 70b730a6ed
commit 39290ef776
4 changed files with 32 additions and 2 deletions

View File

@@ -140,6 +140,7 @@
padding-top: 75%;
background: #f5f5f5;
overflow: hidden;
border-radius: 12px;
img {
position: absolute;
@@ -149,6 +150,14 @@
height: 100%;
object-fit: contain;
background: white;
padding: 12px;
transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), filter 0.4s ease;
filter: drop-shadow(0 2px 6px rgba(0,0,0,0.06));
}
&:hover img {
transform: scale(1.06) translateY(-2px);
filter: drop-shadow(0 12px 24px rgba(0,0,0,0.15)) brightness(1.03);
}
}