0
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-01-17 09:52:29 +01:00

Merge pull request #7770 from holic/3.0.0-input-border-transition

Fix input border flicker in Chrome
This commit is contained in:
Mark Otto 2013-05-03 10:59:52 -07:00
commit 77102dd2e4
2 changed files with 5 additions and 5 deletions

View File

@ -1261,10 +1261,10 @@ input[type="color"] {
border-radius: 4px;
-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
-webkit-transition: border linear 0.2s, box-shadow linear 0.2s;
-moz-transition: border linear 0.2s, box-shadow linear 0.2s;
-o-transition: border linear 0.2s, box-shadow linear 0.2s;
transition: border linear 0.2s, box-shadow linear 0.2s;
-webkit-transition: border-color linear 0.2s, box-shadow linear 0.2s;
-moz-transition: border-color linear 0.2s, box-shadow linear 0.2s;
-o-transition: border-color linear 0.2s, box-shadow linear 0.2s;
transition: border-color linear 0.2s, box-shadow linear 0.2s;
}
input,

View File

@ -66,7 +66,7 @@ input[type="color"] {
border: 1px solid @input-border;
border-radius: @input-border-radius;
.box-shadow(inset 0 1px 1px rgba(0,0,0,.075));
.transition(~"border linear .2s, box-shadow linear .2s");
.transition(~"border-color linear .2s, box-shadow linear .2s");
}
// Reset appearance properties for textual inputs and textarea