perf(ui): eliminate DOM clone, implement hardware-accelerated liquid fluid caustics with complete distortion and zero text hints for 120 FPS on mobile and tablet
This commit is contained in:
@@ -156,6 +156,36 @@
|
||||
z-index: 3;
|
||||
}
|
||||
|
||||
/* Inverted Optical Liquid Glass Refraction Chamber */
|
||||
.liquid-refraction-chamber {
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
border-radius: inherit;
|
||||
overflow: hidden;
|
||||
pointer-events: none;
|
||||
z-index: 1;
|
||||
opacity: 0.65;
|
||||
filter: url("#glass-liquid-warp") blur(0.6px);
|
||||
mix-blend-mode: luminosity;
|
||||
transform: translateZ(0);
|
||||
}
|
||||
|
||||
.liquid-fluid-wave {
|
||||
position: absolute;
|
||||
top: -120px;
|
||||
left: -25%;
|
||||
width: 150%;
|
||||
height: 600px;
|
||||
pointer-events: none;
|
||||
background:
|
||||
radial-gradient(ellipse 65% 35% at 25% 25%, rgba(56, 189, 248, 0.45) 0%, transparent 60%),
|
||||
radial-gradient(ellipse 70% 45% at 75% 70%, rgba(124, 58, 237, 0.42) 0%, transparent 65%),
|
||||
radial-gradient(ellipse 85% 55% at 50% 45%, rgba(37, 99, 235, 0.35) 0%, transparent 70%),
|
||||
linear-gradient(180deg, rgba(255, 255, 255, 0.75) 0%, transparent 45%, rgba(255, 255, 255, 0.5) 100%);
|
||||
will-change: transform;
|
||||
transform: translateZ(0) scaleY(-1);
|
||||
}
|
||||
|
||||
/* Liquid Glass Mobile Dropdown */
|
||||
.liquid-glass-dropdown {
|
||||
position: relative;
|
||||
|
||||
Reference in New Issue
Block a user