mirror of
https://github.com/prymitive/karma
synced 2026-08-23 11:56:20 +00:00
This library is not maintained anymore and it causes small glitches when rendering a lot of alerts - scrolling groups into view doesn't always trigger animation and they stay hidden.
27 lines
355 B
SCSS
27 lines
355 B
SCSS
$duration: 800ms;
|
|
|
|
.components-animation-flash-appear,
|
|
.components-animation-flash-enter {
|
|
animation-name: flash;
|
|
animation-duration: $duration;
|
|
animation-timing-function: ease-in-out;
|
|
}
|
|
|
|
@keyframes flash {
|
|
0% {
|
|
opacity: 1;
|
|
}
|
|
25% {
|
|
opacity: 0;
|
|
}
|
|
50% {
|
|
opacity: 1;
|
|
}
|
|
75% {
|
|
opacity: 0;
|
|
}
|
|
100% {
|
|
opacity: 1;
|
|
}
|
|
}
|