2024-10-16 15:43:00 +00:00
|
|
|
.stack {
|
|
|
|
position: relative;
|
|
|
|
display: flex;
|
|
|
|
padding-right: 30px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#features .row:nth-child(odd) .stack {
|
|
|
|
padding-right: 30px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.screenshot {
|
|
|
|
position: relative;
|
2024-10-16 18:42:47 +00:00
|
|
|
transition: bottom 250ms;
|
2024-10-16 15:43:00 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.screenshot:nth-child(3) {
|
|
|
|
z-index: 4;
|
|
|
|
left: -200%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.screenshot:nth-child(2) {
|
|
|
|
z-index: 3;
|
|
|
|
left: calc(-100% + 10px);
|
|
|
|
bottom: 10px;
|
|
|
|
}
|
|
|
|
.screenshot:nth-child(1) {
|
|
|
|
z-index: 2;
|
|
|
|
left: 20px;
|
|
|
|
bottom: 20px;
|
|
|
|
}
|
|
|
|
|
2024-10-16 17:18:08 +00:00
|
|
|
/* @keyframes lower {
|
2024-10-16 15:43:00 +00:00
|
|
|
from {
|
|
|
|
animation-timing-function: ease-in-out;
|
|
|
|
}
|
|
|
|
to {
|
|
|
|
transform: translate(-10px, 10px);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@keyframes swap {
|
|
|
|
50% {
|
|
|
|
z-index: 3;
|
|
|
|
}
|
|
|
|
67% {
|
|
|
|
transform: translate(35px, -125%) rotate(2.5deg);
|
|
|
|
z-index: 1;
|
|
|
|
}
|
|
|
|
100% {
|
|
|
|
transform: translate(30px, -30px) rotate(0deg);
|
|
|
|
z-index: 0;
|
|
|
|
}
|
2024-10-16 17:18:08 +00:00
|
|
|
} */
|
|
|
|
|
2024-10-16 18:42:47 +00:00
|
|
|
@keyframes shift {
|
|
|
|
50% {
|
|
|
|
transform: translate(-5px, 5px);
|
|
|
|
}
|
|
|
|
to {
|
|
|
|
transform: translate(0, 0);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2024-10-17 14:47:58 +00:00
|
|
|
|
|
|
|
/*
|
|
|
|
Commented lines make the animation more flexible
|
|
|
|
with different numbers of slides
|
|
|
|
*/
|
2024-10-16 17:18:08 +00:00
|
|
|
@keyframes fade-out {
|
|
|
|
0% {
|
2024-10-17 14:47:58 +00:00
|
|
|
/* bottom: 0; */
|
2024-10-16 17:18:08 +00:00
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
100% {
|
|
|
|
opacity: 0;
|
2024-10-17 14:47:58 +00:00
|
|
|
/* left: calc(-200% - 10px); */
|
|
|
|
/* bottom: -30px; */
|
2024-10-16 18:42:47 +00:00
|
|
|
scale: 1.05;
|
2024-10-16 17:18:08 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@keyframes fade-in {
|
|
|
|
0% {
|
2024-10-16 18:42:47 +00:00
|
|
|
bottom: 30px;
|
|
|
|
left: 30px;
|
|
|
|
opacity: 0;
|
|
|
|
scale: 0.95;
|
2024-10-16 17:18:08 +00:00
|
|
|
}
|
|
|
|
100% {
|
|
|
|
opacity: 1;
|
2024-10-16 18:42:47 +00:00
|
|
|
left: 20px;
|
2024-10-16 17:18:08 +00:00
|
|
|
bottom: 20px;
|
2024-10-16 18:42:47 +00:00
|
|
|
scale: 1.0;
|
2024-10-16 17:18:08 +00:00
|
|
|
}
|
2024-10-16 15:43:00 +00:00
|
|
|
}
|