mirror of
https://github.com/CTCaer/RetroArch.git
synced 2025-02-04 02:26:13 +00:00
emscripten: Add a glowing animation when loading
This commit is contained in:
parent
8b194788e7
commit
8abd55662f
@ -16,11 +16,34 @@
|
||||
*/
|
||||
.webplayer-preview {
|
||||
cursor: wait;
|
||||
opacity: 0.3;
|
||||
opacity: 0.2;
|
||||
transition: all 0.8s;
|
||||
-webkit-animation: loading 0.8s ease-in-out infinite alternate;
|
||||
-moz-animation: loading 0.8s ease-in-out infinite alternate;
|
||||
animation: loading 0.8s ease-in-out infinite alternate;
|
||||
}
|
||||
.webplayer-preview.loaded {
|
||||
cursor: pointer;
|
||||
opacity: 1;
|
||||
-webkit-animation: loaded 0.8s ease-in-out;
|
||||
-moz-animation: loaded 0.8s ease-in-out;
|
||||
animation: loaded 0.8s ease-in-out;
|
||||
}
|
||||
@-webkit-keyframes loaded {
|
||||
from {
|
||||
opacity: 0.2;
|
||||
}
|
||||
to {
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
@-webkit-keyframes loading {
|
||||
from {
|
||||
opacity: 0.2;
|
||||
}
|
||||
to {
|
||||
opacity: 0.35;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
@ -55,4 +78,4 @@ textarea {
|
||||
border-color: transparent;
|
||||
overflow: auto;
|
||||
resize: none;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user