mirror of
https://github.com/ant-design/ant-design.git
synced 2025-01-18 06:03:38 +08:00
优化了 checkbox 的动画, 使其更流畅一些
This commit is contained in:
parent
466f3bdd26
commit
47c06ef141
@ -30,7 +30,7 @@
|
||||
border-top: 0;
|
||||
border-left: 0;
|
||||
content: ' ';
|
||||
transition: all .3s @ease-in-back ;
|
||||
transition: all .1s @ease-in-back;
|
||||
}
|
||||
|
||||
position: relative;
|
||||
@ -44,7 +44,7 @@
|
||||
border-radius: 3px;
|
||||
border-color: #d9d9d9;
|
||||
background-color: #ffffff;
|
||||
transition: border-color 0.3s @ease-in-out-back, background-color 0.3s @ease-in-out-back;
|
||||
transition: border-color 0.1s @ease-in-out-back, background-color 0.1s @ease-in-out-back;
|
||||
}
|
||||
|
||||
&-input {
|
||||
@ -84,7 +84,7 @@
|
||||
border-top: 0;
|
||||
border-left: 0;
|
||||
content: ' ';
|
||||
transition: all .3s @ease-out-back .2s;
|
||||
transition: all .2s @ease-out-back .1s;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user