fix(animation): move bowl to preview-wrapper and increase size
This commit is contained in:
10
src/main.css
10
src/main.css
@@ -713,15 +713,15 @@ kbd {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* Bowl smiley peek animation from bottom right corner */
|
/* Bowl smiley peek animation from bottom right corner */
|
||||||
.preview-section.matched::after {
|
.preview-wrapper.matched::before {
|
||||||
content: "";
|
content: "";
|
||||||
position: absolute;
|
position: absolute;
|
||||||
bottom: 0;
|
bottom: 0;
|
||||||
right: 40px;
|
right: 20px;
|
||||||
width: 80px;
|
width: 200px;
|
||||||
height: 80px;
|
height: 200px;
|
||||||
background: url("/bowl.png") center/contain no-repeat;
|
background: url("/bowl.png") center/contain no-repeat;
|
||||||
z-index: 20;
|
z-index: 5;
|
||||||
pointer-events: none;
|
pointer-events: none;
|
||||||
animation: bowl-peek 3s ease-in-out forwards;
|
animation: bowl-peek 3s ease-in-out forwards;
|
||||||
transform: translateY(100%);
|
transform: translateY(100%);
|
||||||
|
|||||||
Reference in New Issue
Block a user