From 92fe84919bd1179e1b0d8f904695cf8845c4f2a1 Mon Sep 17 00:00:00 2001 From: afc163 Date: Wed, 17 Jun 2015 17:30:25 +0800 Subject: [PATCH] dropdown trigger arrow should rotate --- style/components/dropdown.less | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/style/components/dropdown.less b/style/components/dropdown.less index bfecc9d577..56bb9d159f 100644 --- a/style/components/dropdown.less +++ b/style/components/dropdown.less @@ -15,6 +15,15 @@ &-wrap { position: relative; + .anticon-down { + transition: transform 0.2s ease; + } + } + + &-wrap-open { + .anticon-down { + transform: rotate(180deg); + } } &-hidden { @@ -148,4 +157,4 @@ transform: scaleY(0); } } -} \ No newline at end of file +}