[www] Content Animation from Top
This commit is contained in:
1 parent
fb2f104552
commit
9ddfde8810
1 file changed
+19
@@ -30,6 +30,25 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
// Animation on load
|
||||||
|
|
||||||
|
@keyframes smallSlideInFromTop {
|
||||||
|
0% {
|
||||||
|
transform: translateY(-10px);
|
||||||
|
opacity: 0;
|
||||||
|
}
|
||||||
|
100% {
|
||||||
|
transform: translateY(0);
|
||||||
|
opacity: 1;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.content {
|
||||||
|
animation: smallSlideInFromTop 350ms ease-out;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
@media screen and (max-width: $mobile-width) {
|
@media screen and (max-width: $mobile-width) {
|
||||||
$content-mobile: 95%;
|
$content-mobile: 95%;
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user