feat: Flug-Partikel (Staub, Lichtstreifen, Bokeh) im Tiefenflug
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
1 parent
ceacdb5398
commit
8b1c7080b9
3 files changed
+59
No files matched your search
@@ -343,6 +343,22 @@
|
||||
}
|
||||
.konfetti { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
|
||||
|
||||
/* Flug-Partikel: Staub, Lichtstreifen und Bokeh fliegen der Kamera entgegen */
|
||||
.flug-partikel { position: absolute; inset: 0; pointer-events: none; transform-style: preserve-3d; }
|
||||
.partikel {
|
||||
position: absolute; left: 50%; top: 50%;
|
||||
opacity: 0;
|
||||
will-change: transform, opacity;
|
||||
}
|
||||
.partikel.staub { width: 5px; height: 5px; border-radius: 50%; background: rgba(102, 112, 133, 0.8); }
|
||||
.partikel.staub.gold { background: rgba(201, 162, 39, 0.8); }
|
||||
.partikel.streif { width: 42px; height: 2px; background: linear-gradient(to right, transparent, rgba(102, 112, 133, 0.6)); }
|
||||
.partikel.bokeh {
|
||||
width: 28px; height: 28px; border-radius: 50%;
|
||||
background: radial-gradient(circle, rgba(201, 162, 39, 0.35), rgba(201, 162, 39, 0.03));
|
||||
filter: blur(1px);
|
||||
}
|
||||
|
||||
/* ==================== FALLBACKS ====================
|
||||
- .kein-js: steht im HTML und wird von tiefenflug.js entfernt;
|
||||
ohne JS bleibt sie stehen und das Intro verschwindet.
|
||||
|
||||
Reference in new issue
Block a user