summaryrefslogtreecommitdiff
path: root/css/animation.css
diff options
context:
space:
mode:
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;
+ }
+}