Browse Source

Animate figcaption disappearance

Danilo Gómez Gómez 5 years atrás
parent
commit
86f962d025
1 changed files with 2 additions and 1 deletions
  1. 2 1
      static/css/main.css

+ 2 - 1
static/css/main.css

@@ -270,7 +270,8 @@ figure figcaption {
 	width: calc(100% - 2 * var(--caption-hmargin));
   -webkit-transform: translateY(100%);
       -ms-transform: translateY(100%);
-          transform: translateY(100%);
+					transform: translateY(100%);
+	transition: .3s ease;	
 }
 figure:hover figcaption {
   -webkit-transform: translateY(0);