mirror of
https://github.com/muerwre/vault-frontend.git
synced 2025-04-25 12:56:41 +07:00
34 lines
485 B
SCSS
34 lines
485 B
SCSS
@keyframes fadeIn {
|
|
0% {
|
|
opacity: 0;
|
|
}
|
|
100% {
|
|
opacity: 1;
|
|
}
|
|
}
|
|
|
|
.wrap {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
z-index: -1;
|
|
background: 50% 50% no-repeat;
|
|
background-size: cover;
|
|
width: 100%;
|
|
height: 100%;
|
|
animation: fadeIn 2s;
|
|
|
|
&::after {
|
|
content: ' ';
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
background: url(~/sprites/dots.svg) rgba(0, 0, 0, 0.5);
|
|
}
|
|
|
|
@include tablet {
|
|
display: none;
|
|
}
|
|
}
|