mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +08:00
feat(Switch): optimize animation timing function (#4733)
This commit is contained in:
parent
da6b4faf51
commit
46c646796e
@ -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 {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user