diff --git a/wiki/pages/tryhomepage.html b/wiki/pages/tryhomepage.html index ec678cc8d98c4ffbf2a68c3bd151d326ba0156d5..5345c4006db5b8dc522f9f834b28780557be07e1 100644 --- a/wiki/pages/tryhomepage.html +++ b/wiki/pages/tryhomepage.html @@ -78,10 +78,10 @@ transition: ease-in-out 0.5s; } - .fade-out { - opacity: 0; - transition: opacity 0.5s ease; -} + .slide-up { + transform: translateY(-100vh); /* Slide up off the screen */ + transition: transform 0.5s ease; /* Smooth transition */ + } </style> </head> @@ -126,7 +126,7 @@ intro.style.top = '-100vh'; setTimeout(()=>{ - intro.classList.add('fade-out'); + intro.classList.add('slide-up'); }) setTimeout(()=>{ window.location.href = nextPage;