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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user