summaryrefslogtreecommitdiff
path: root/css/animation.css
diff options
context:
space:
mode:
authormuqiuhan <[email protected]>2026-03-15 11:36:53 +0000
committermuqiuhan <[email protected]>2026-03-15 11:36:53 +0000
commite7adfc645c5624bc3b827d7233f6e78b33a90e79 (patch)
treec3b18fe41d0b1aff3f0a944318cab31565593590 /css/animation.css
parent95b14c8fca55b8c78a9968006f1ea0a46afb3b1b (diff)
downloadblog-e7adfc645c5624bc3b827d7233f6e78b33a90e79.tar.gz
deploy: 18bce0f2b548121e7298c164c463df00e2f9ff78
Diffstat (limited to 'css/animation.css')
-rw-r--r--css/animation.css43
1 files changed, 43 insertions, 0 deletions
diff --git a/css/animation.css b/css/animation.css
index e69de29b..145b0953 100644
--- a/css/animation.css
+++ b/css/animation.css
@@ -0,0 +1,43 @@
+.fade-in {
+ animation: fadeIn 0.6s ease;
+}
+.post-list-item,
+.post-gallery-item {
+ transition: opacity $transition-duration ease;
+}
+.post-list-item:hover,
+.post-gallery-item:hover {
+ opacity: 0.85;
+}
+@-moz-keyframes fadeIn {
+ from {
+ opacity: 0;
+ }
+ to {
+ opacity: 1;
+ }
+}
+@-webkit-keyframes fadeIn {
+ from {
+ opacity: 0;
+ }
+ to {
+ opacity: 1;
+ }
+}
+@-o-keyframes fadeIn {
+ from {
+ opacity: 0;
+ }
+ to {
+ opacity: 1;
+ }
+}
+@keyframes fadeIn {
+ from {
+ opacity: 0;
+ }
+ to {
+ opacity: 1;
+ }
+}