фото своего размера + подложка из замыл. фото

This commit is contained in:
xomimishka committed 2025-07-11 11:38:32 +03:00
1 parent 72c66667f9
commit e36bd1019c
2 files changed
+47 -10

No files matched your search

+33 -2
View File
@@ -23,13 +23,36 @@
transform: translateZ(0);
backface-visibility: hidden;
perspective: 1000px;
.slide-container {
position: relative;
width: 100%;
height: 100%;
overflow: hidden;
border-radius: 8px;
pointer-events: none;
}
.slide-background {
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background-size: cover;
background-position: center;
filter: blur(10px);
transform: scale(1.05);
z-index: 1;
}
.slide-image {
position: relative;
width: 100%;
height: 350px;
object-fit: cover;
object-fit: contain;
object-position: center;
border-radius: 8px;
z-index: 2;
pointer-events: none;
transform: translateZ(0);
backface-visibility: hidden;
@@ -124,6 +147,10 @@
min-height: 300px;
transform-origin: center center;
.slide-container {
height: 500px;
}
.slide-image {
height: 500px;
transition: transform 0.6s cubic-bezier(0.22, 0.61, 0.36, 1);
@@ -135,6 +162,10 @@
height: 48vh;
min-height: 250px;
.slide-container {
height: 350px;
}
.slide-image {
height: 350px;
}