This commit is contained in:
2024-01-25 16:01:20 +01:00
parent e6afb0f776
commit 46f3aa5b79
2 changed files with 8 additions and 17 deletions

View File

@@ -27,12 +27,12 @@ body {
.user-index-h1,
.user-index-h2 {
opacity: 0; /* Initially set opacity to 0 */
transform: translateX(-20px); /* Move elements outside the viewport to the left */
transition: opacity 0.8s ease, transform 0.8s ease; /* Apply transition effect */
opacity: 0;
transform: translateX(-20px);
transition: opacity 0.8s ease, transform 0.8s ease;
}
.visible {
.fade-in {
opacity: 1;
transform: translateX(0); /* Move elements back to their original position */
transform: translateX(0);
}