accounts-frontend/packages/app/components/ui/loader/imageLoader.scss

26 lines
317 B
SCSS

.container {
position: relative;
z-index: 1;
}
.loader {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}
.image {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
opacity: 0;
transition: 0.4s ease-in;
}
.imageLoaded {
opacity: 1;
}