22/invite/style.scss

74 lines
1.1 KiB
SCSS

$foreground: #FFFFFF;
$background: #000000;
$animation-delay: 2s;
$animation-length: 10s;
* {
box-sizing: border-box;
}
body {
justify-content: center;
align-items: center;
background: $background;
color: $foreground;
font-family: Sans-Serif;
margin:0;
padding:0;
overflow:hidden;
}
.container {
height:100vh;
width: 100vw;
:nth-child(1) {
animation-delay: 0s;
animation-duration: 1s;
animation-name: slide-in;
animation-fill-mode: both;
}
:nth-child(2) {
animation-delay: 1s;
animation-duration: 1s;
animation-name: slide-in;
animation-fill-mode: both;
display:none;
}
:nth-child(3) {
animation-delay: 2s;
animation-duration: 1s;
animation-name: slide-in;
animation-fill-mode: both;
display:none;
}
}
.slide {
position: absolute;
height:100vh;
width: 100vw;
display: flex;
align-items: center;
justify-content: center;
}
.scale-in-center {
}
@keyframes side-in {
0% {
transform: translate(0, -50vh);
opacity: 0;
}
50% {
transform: translate(0, 0);
opacity: 1;
}
100% {
transform: translate(0, 10vh);
opacity: 0;
}
}