feat: Add reveal animations for smoother element transitions in style.css

This commit is contained in:
Syariffullah
2026-06-05 14:48:39 +07:00
parent 13fc797791
commit 7cf590eee5
2 changed files with 2693 additions and 1929 deletions
File diff suppressed because it is too large Load Diff
+14
View File
@@ -1605,6 +1605,20 @@ body {
}
}
/* Animations */
.reveal {
opacity: 0;
transform: translateY(50px);
transition:
opacity 0.8s ease,
transform 0.8s ease;
}
.reveal.active {
opacity: 1;
transform: translateY(0);
}
/* ============================================================
ANTI-FLICKER — localization.js sets window.__currentLang
synchronously; body stays hidden until DOMContentLoaded