1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-10-22 19:26:13 +02:00
metamask-extension/ui/pages/swaps/mascot-background-animation/index.scss
2023-06-15 20:17:21 +02:00

61 lines
1.1 KiB
SCSS

.mascot-background-animation {
display: flex;
flex-flow: column;
align-items: center;
flex: 1;
width: 100%;
&__background-1,
&__background-2 {
width: 120px;
height: 100px;
display: flex;
justify-content: center;
align-items: center;
position: absolute;
-webkit-animation: spin 38s linear infinite;
-moz-animation: spin 38s linear infinite;
animation: spin 38s linear infinite;
@-moz-keyframes spin {
100% {
-moz-transform: rotate(360deg);
}
}
@-webkit-keyframes spin {
100% {
-webkit-transform: rotate(360deg);
}
}
@keyframes spin {
100% {
-webkit-transform: rotate(360deg);
transform: rotate(360deg);
}
}
}
&__background-2 {
width: 120px;
height: 128px;
-webkit-animation: spin 42s linear infinite;
-moz-animation: spin 42s linear infinite;
animation: spin 42s linear infinite;
}
&__mascot-container {
position: relative;
}
&__animation {
display: flex;
justify-content: center;
align-items: center;
position: relative;
margin-top: 40px;
margin-bottom: 40px;
}
}