1
0

Refactor glow color and size calculation in animeCat.js

This commit is contained in:
2025-05-26 07:11:39 +02:00
parent 91c6410a51
commit 34c6789c76
2 changed files with 17 additions and 9 deletions

View File

@@ -165,14 +165,12 @@
/*maybe move this into the cat later*/
#cat-glow {
background: radial-gradient(circle, rgba(255,230,100,0.9) 0%, rgba(255,230,100,0.15) 75%, rgba(0,0,0,0) 100%);
position: absolute;
left: 50%; top: 50%;
transform: translate(-50%, -60%);
width: 120px; height: 80px;
transform: translate(-50%, -50%);
pointer-events: none;
z-index: 1;
opacity: 1;
border-radius: 50%;
transition:
box-shadow 0.5s cubic-bezier(.8,.2,.2,1),
background 0.5s cubic-bezier(.8,.2,.2,1),