feat: enhance PhotoswipeReader with loading states for images and add fade-in animation for improved user experience

This commit is contained in:
Julien Froidefond
2025-10-17 22:27:50 +02:00
parent adddac83b0
commit 45a5aed886
2 changed files with 64 additions and 2 deletions

View File

@@ -116,4 +116,18 @@ body {
backdrop-filter: blur(16px);
-webkit-backdrop-filter: blur(16px);
}
/* Fade-in animation */
@keyframes fade-in {
from {
opacity: 0;
}
to {
opacity: 1;
}
}
.animate-fade-in {
animation: fade-in 0.3s ease-in forwards;
}
}