From d632ed72536a07de63ca51bb877a15ed4241025e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B5=AA=E6=B5=AA=E6=B5=AA?= <675483520@qq.com> Date: Sun, 4 Jun 2017 17:44:41 +0800 Subject: [PATCH] update chatsetting transition --- src/components/Chat/ChatSetting.css | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/src/components/Chat/ChatSetting.css b/src/components/Chat/ChatSetting.css index cafab07..a22ce33 100644 --- a/src/components/Chat/ChatSetting.css +++ b/src/components/Chat/ChatSetting.css @@ -20,13 +20,16 @@ color:#888; z-index: -1; opacity: 0; - display: none; transition: all .6s cubic-bezier(0.19, 1, 0.22, 1);; &.open { - display: block; opacity: 1; top: 40px; + + & span { + width: 18px; + height: 18px; + } } & h4 { @@ -47,12 +50,13 @@ & span { display: block; - width: 18px; - height: 18px; + width: 0; + height: 0; background:#ff4400; border-radius: 2px; margin: 0 3px 3px 0; cursor: pointer; + transition: none; } }