add new product flow arrangement
This commit is contained in:
1 parent
41fa7ddf73
commit
5ca7152011
7 files changed
+1882
-1933
No files matched your search
@@ -0,0 +1,40 @@
|
||||
.product-transition {
|
||||
position: fixed;
|
||||
inset: 0;
|
||||
z-index: 2500;
|
||||
pointer-events: none;
|
||||
opacity: 0;
|
||||
visibility: hidden;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.product-transition__wash {
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
background:
|
||||
radial-gradient(circle at 50% 50%, rgba(var(--theme-accent-rgb) / 0.16), transparent 32rem),
|
||||
rgba(12, 12, 12, 0.78);
|
||||
backdrop-filter: blur(14px) saturate(0.9);
|
||||
-webkit-backdrop-filter: blur(14px) saturate(0.9);
|
||||
}
|
||||
|
||||
.product-transition__image {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
display: block;
|
||||
object-fit: contain;
|
||||
transform-origin: 0 0;
|
||||
will-change: transform, opacity;
|
||||
filter: drop-shadow(0 34px 82px rgba(0, 0, 0, 0.42));
|
||||
}
|
||||
|
||||
body.product-transition-active {
|
||||
cursor: progress;
|
||||
}
|
||||
|
||||
@media (prefers-reduced-motion: reduce) {
|
||||
.product-transition {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user