Skip to content

Commit

Permalink
fix 2 for welcome screen
Browse files Browse the repository at this point in the history
  • Loading branch information
SzBenedek2006 committed Mar 21, 2024
1 parent dba17e0 commit c2aa4f4
Showing 1 changed file with 16 additions and 6 deletions.
22 changes: 16 additions & 6 deletions style.css
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ body {
justify-content: center;
align-items: center;
z-index: 999; /* Ensure it appears above other elements */
backdrop-filter: blur(10px);
backdrop-filter: blur(15px);
animation: hideWelcome 2.5s ease-in-out forwards;

}
Expand All @@ -56,27 +56,35 @@ body {
@keyframes hideWelcome {
50%
{
backdrop-filter: blur(10px);
backdrop-filter: blur(15px);
}

100%
{
backdrop-filter: blur(0px);
display: none; /* Hide the element after animation */
display: none;
z-index: 0;
}
}

@keyframes hideWelcomeText {
50%
{
opacity: 1; /* Start with full opacity */
opacity: 1;

}
99%
{
opacity: 0;
display: none;
font-size: 48px;
z-index: 0;
}
100%
{
opacity: 0; /* Fade out to full transparency */
display: none; /* Hide the element after animation */
font-size: 0;
opacity: 0;
display: none;
z-index: 0;
}
}
Expand Down Expand Up @@ -109,10 +117,12 @@ body {
0%
{
opacity: 0;
backdrop-filter: blur(0px);
}
50%
{
opacity: 0;
backdrop-filter: blur(0px);

}
100%
Expand Down

0 comments on commit c2aa4f4

Please sign in to comment.