feat(Switch): optimize animation timing function (#4733)

This commit is contained in:
neverland
2019-10-15 20:35:08 +08:00
committed by GitHub
parent da6b4faf51
commit 46c646796e

View File

@@ -21,7 +21,7 @@
background-color: @switch-node-background-color; background-color: @switch-node-background-color;
border-radius: 100%; border-radius: 100%;
box-shadow: @switch-node-box-shadow; box-shadow: @switch-node-box-shadow;
transition: transform @switch-transition-duration; transition: transform @switch-transition-duration cubic-bezier(.3, 1.05, .4, 1.05);
} }
&__loading { &__loading {