优化了 checkbox 的动画, 使其更流畅一些

This commit is contained in:
afc163 2015-07-24 11:13:28 +08:00
parent 466f3bdd26
commit 47c06ef141

View File

@ -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;
}
}
}