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 +++-- src/modals.less | 1 - 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src') 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; } } diff --git a/src/modals.less b/src/modals.less index ff7e0e1..ba5fde0 100644 --- a/src/modals.less +++ b/src/modals.less @@ -34,7 +34,6 @@ } .modal-container { - animation: slide-up .216s; background: #fff; border-radius: @border-radius; display: block; -- cgit v1.3.1-23-gd82d