From 80929eb176beec7f46f68b7c5cd35e37f3cda751 Mon Sep 17 00:00:00 2001 From: syuilo Date: Fri, 23 Feb 2018 03:33:12 +0900 Subject: :v: --- src/web/app/animation.styl | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 src/web/app/animation.styl (limited to 'src/web/app/animation.styl') diff --git a/src/web/app/animation.styl b/src/web/app/animation.styl new file mode 100644 index 0000000000..8f121b313b --- /dev/null +++ b/src/web/app/animation.styl @@ -0,0 +1,12 @@ +.zoom-in-top-enter-active, +.zoom-in-top-leave-active { + opacity: 1; + transform: scaleY(1); + transition: transform 300ms cubic-bezier(0.23, 1, 0.32, 1), opacity 300ms cubic-bezier(0.23, 1, 0.32, 1); + transform-origin: center top; +} +.zoom-in-top-enter, +.zoom-in-top-leave-active { + opacity: 0; + transform: scaleY(0); +} -- cgit v1.3.1-freya