forked from izu/student-web-if-development-kit
feat: Add reveal animations for smoother element transitions in style.css
This commit is contained in:
+2679
-1929
File diff suppressed because it is too large
Load Diff
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user