Animationen außerhalb des Sichtbereichs pausieren, replaceState absichern

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Kjd7UMh3HKyVziCgiZ9A2i
This commit is contained in:
Claude committed 2026-10-03 17:02:16 +00:00
1 parent 82dc9599cc
commit 88b02720d8
3 files changed
+11 -2

No files matched your search

+2
View File
@@ -825,6 +825,8 @@ address { font-style: normal; }
.h-duct-flow { fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-dasharray: 6 10; --dash: -16; animation: dash 1.25s linear infinite; }
.h-vent { fill: none; stroke: rgba(255, 255, 255, .72); stroke-width: 3; stroke-linecap: round; }
.js .house__grid .house__svg * { animation-play-state: paused; }
.js .house__grid.is-inview .house__svg * { animation-play-state: running; }
.sys { transition: opacity .7s var(--ease); }
.js .house__grid .sys { opacity: .26; }
.js .house__grid .sys.is-on { opacity: 1; }