1
0
mirror of https://github.com/zumbiepig/MineXLauncher.git synced 2025-06-26 10:05:10 +00:00

add tutorial open and close animation

This commit is contained in:
zumbiepig
2024-09-05 14:32:58 -07:00
parent c4d8a17876
commit 09a8a4f220
3 changed files with 42 additions and 9 deletions

View File

@@ -353,7 +353,6 @@ nav {
0% {
transform: scale(1);
}
100% {
transform: scale(1.1);
}
@@ -777,6 +776,34 @@ nav {
align-items: center;
}
@keyframes openArticle {
0% {
opacity: 0;
scale: 0;
}
80% {
scale: 1.1;
}
100% {
opacity: 1;
scale: 1;
}
}
@keyframes closeArticle {
0% {
opacity: 1;
scale: 1;
}
20% {
scale: 1.1;
}
100% {
opacity: 0;
scale: 0;
}
}
.article .article-content {
background-color: #333;
padding: 20px;