fadeOutTopRight.css
TLDR
This file defines a CSS animation called fadeOutTopRight
that fades out an element while moving it to the top-right corner.
Classes
fadeOutTopRight
Applies the fadeOutTopRight
animation to an element, causing it to fade out and move to the top-right corner of the screen.
@keyframes fadeOutTopRight {
from {
opacity: 1;
transform: translate3d(0, 0, 0);
}
to {
opacity: 0;
transform: translate3d(100%, -100%, 0);
}
}
.fadeOutTopRight {
animation-name: fadeOutTopRight;
}