diff --git a/index.html b/index.html index 735ffd3..68d8ec9 100644 --- a/index.html +++ b/index.html @@ -164,8 +164,22 @@ /*maybe move this into the cat later*/ - #cat-sprite.glow { - transition: filter 0.6s cubic-bezier(.8,.2,.2,1); + #cat-glow { + position: absolute; + left: 50%; top: 50%; + transform: translate(-50%, -60%); /* feinjustieren */ + width: 120px; height: 80px; + pointer-events: none; + z-index: 1; /* Katze muss drĂ¼ber sein */ + opacity: 1; + transition: + box-shadow 0.5s cubic-bezier(.8,.2,.2,1), + background 0.5s cubic-bezier(.8,.2,.2,1), + opacity 0.4s; + } + #cat-sprite { + position: relative; + z-index: } @@ -223,7 +237,7 @@
- +