feat(ui): restore inverted optical liquid glass reflection with cylindrical lens distortion and 120 FPS performance
This commit is contained in:
+30
-13
@@ -136,25 +136,42 @@
|
||||
overflow: hidden;
|
||||
pointer-events: none;
|
||||
z-index: 1;
|
||||
opacity: 0.6;
|
||||
filter: url("#glass-liquid-warp");
|
||||
/* Physical Optical Inversion & 3D Cylindrical Lens Curvature */
|
||||
transform: perspective(400px) rotateX(6deg) scaleY(-1.06) scaleX(1.02);
|
||||
transform-origin: center center;
|
||||
opacity: 0.58;
|
||||
mix-blend-mode: luminosity;
|
||||
transform: translateZ(0);
|
||||
filter: blur(0.35px) contrast(124%) saturate(220%) brightness(1.06);
|
||||
contain: strict;
|
||||
will-change: transform;
|
||||
}
|
||||
|
||||
.liquid-fluid-wave {
|
||||
.liquid-refraction-mirror {
|
||||
position: absolute;
|
||||
top: -120px;
|
||||
left: -25%;
|
||||
width: 150%;
|
||||
height: 600px;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100vw;
|
||||
pointer-events: none;
|
||||
will-change: transform;
|
||||
}
|
||||
|
||||
/* Prismatic Liquid Caustic Refraction Overlay */
|
||||
.liquid-caustic-refraction {
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
pointer-events: none;
|
||||
background:
|
||||
radial-gradient(ellipse 65% 35% at 25% 30%, rgba(56, 189, 248, 0.35) 0%, transparent 60%),
|
||||
radial-gradient(ellipse 70% 45% at 75% 70%, rgba(124, 58, 237, 0.32) 0%, transparent 65%),
|
||||
radial-gradient(ellipse 85% 55% at 50% 50%, rgba(37, 99, 235, 0.25) 0%, transparent 70%);
|
||||
will-change: transform;
|
||||
transform: translateZ(0) scaleY(-1);
|
||||
linear-gradient(
|
||||
180deg,
|
||||
rgba(255, 255, 255, 0.22) 0%,
|
||||
transparent 25%,
|
||||
transparent 75%,
|
||||
rgba(255, 255, 255, 0.14) 100%
|
||||
),
|
||||
radial-gradient(ellipse 65% 50% at 25% 35%, rgba(56, 189, 248, 0.16) 0%, transparent 60%),
|
||||
radial-gradient(ellipse 70% 50% at 75% 65%, rgba(168, 85, 247, 0.14) 0%, transparent 60%);
|
||||
mix-blend-mode: overlay;
|
||||
z-index: 2;
|
||||
}
|
||||
|
||||
/* Liquid Glass Mobile Dropdown */
|
||||
|
||||
Reference in New Issue
Block a user