From d121966a525a72aa564d81a8da19b3c4fd154bfb Mon Sep 17 00:00:00 2001 From: Yan Zhu Date: Tue, 21 Feb 2017 17:05:09 +0800 Subject: CHG: Fix bugs and improve docs --- src/animations.less | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/animations.less') diff --git a/src/animations.less b/src/animations.less index fa7b72a..1b7f2c0 100644 --- a/src/animations.less +++ b/src/animations.less @@ -7,13 +7,14 @@ transform: rotate(360deg); } } + @keyframes slide-down { 0% { - margin-top: -3rem; + transform: translateY(-3rem); opacity: 0; } 100% { - margin-top: 0; + transform: translateY(0); opacity: 1; } } -- cgit v1.3.1-25-g5ce5