fix: Logo-Einfärbung via CSS filter statt mix-blend-mode overlay
filter(grayscale+sepia+hue-rotate+saturate+brightness) töntet nur die gerenderten SVG-Pixel, transparente Bereiche bleiben unberührt. 0.8s transition auf filter-Property. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
14
style.css
14
style.css
@@ -11,19 +11,7 @@ body {
|
||||
}
|
||||
|
||||
#lottie-logo {
|
||||
position: relative;
|
||||
isolation: isolate;
|
||||
--logo-tint: transparent;
|
||||
}
|
||||
|
||||
#lottie-logo::after {
|
||||
content: '';
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
pointer-events: none;
|
||||
mix-blend-mode: color;
|
||||
background: var(--logo-tint);
|
||||
transition: background 0.8s ease;
|
||||
transition: filter 0.8s ease;
|
||||
}
|
||||
|
||||
#lottie-bg {
|
||||
|
||||
Reference in New Issue
Block a user