Refactor glow color and size calculation in animeCat.js
This commit is contained in:
@@ -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),
|
||||
|
||||
Reference in New Issue
Block a user