From 000912b5319b6fc478ce112365beeed290cd6828 Mon Sep 17 00:00:00 2001 From: guy Date: Sat, 1 Jan 2022 19:58:39 +0800 Subject: [PATCH] update --- src/less/base/single/button/switch.less | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/less/base/single/button/switch.less b/src/less/base/single/button/switch.less index d08c780de..26f4b496b 100644 --- a/src/less/base/single/button/switch.less +++ b/src/less/base/single/button/switch.less @@ -3,11 +3,13 @@ .bi-switch{ .border-radius(40px 40px 40px 40px); background-color: @color-bi-background-switch; + .transition(all .2s); &.active { background-color: @color-bi-background-active-switch; } & .circle-button{ .border-radius(9px 9px 9px 9px); + .transition(all .2s ease-in-out); } &.disabled { background-color: @color-bi-background-disabled-switch;