From 5fca7862548607186a970df6a7675bc53cdef859 Mon Sep 17 00:00:00 2001 From: Victor Giers Date: Mon, 26 May 2025 07:37:39 +0200 Subject: [PATCH] Update glow properties for animeCat.js --- animeCat.js | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/animeCat.js b/animeCat.js index dcd65e0..0ceabff 100644 --- a/animeCat.js +++ b/animeCat.js @@ -60,15 +60,17 @@ window.AnimeCat = class AnimeCat { this.glow = document.createElement('div'); this.glow.id = 'cat-glow'; Object.assign(this.glow.style, { - position: 'absolute', - left: '40%', - top: '75%', - transform: 'translate(-50%, -50%)', - borderRadius: '50%', - width: '20px', - height: '20px', - pointerEvents: 'none', - zIndex: 1, + position: 'absolute', + left: '50%', + top: '50%', + transform: 'translate(-50%, -50%)', + borderRadius: '50%', + width: '80px', // vorher 120px + height: '54px', // vorher 80px (Verhältnis zur Katze beibehalten!) + pointerEvents: 'none', + zIndex: 1, + filter: 'blur(9px)', // macht die Kante weicher + transition: 'background 0.4s, width 0.2s, height 0.2s, opacity 0.3s' }); this.catContainer.appendChild(this.glow);