mirror of https://github.com/twbs/bootstrap.git
fix placeholder for FF by attaching input and textarea when we call the mixin
This commit is contained in:
parent
ad9bfeef7a
commit
eb3a4b8f75
|
|
@ -1232,15 +1232,18 @@ select:focus:required:invalid:focus {
|
||||||
box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.025);
|
box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.025);
|
||||||
}
|
}
|
||||||
|
|
||||||
:-moz-placeholder {
|
input:-moz-placeholder,
|
||||||
|
textarea:-moz-placeholder {
|
||||||
color: #999999;
|
color: #999999;
|
||||||
}
|
}
|
||||||
|
|
||||||
:-ms-input-placeholder {
|
input:-ms-input-placeholder,
|
||||||
|
textarea:-ms-input-placeholder {
|
||||||
color: #999999;
|
color: #999999;
|
||||||
}
|
}
|
||||||
|
|
||||||
::-webkit-input-placeholder {
|
input::-webkit-input-placeholder,
|
||||||
|
textarea::-webkit-input-placeholder {
|
||||||
color: #999999;
|
color: #999999;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -343,7 +343,10 @@ select:focus:required:invalid {
|
||||||
}
|
}
|
||||||
|
|
||||||
// Placeholder text gets special styles; can't be bundled together though for some reason
|
// Placeholder text gets special styles; can't be bundled together though for some reason
|
||||||
.placeholder();
|
input,
|
||||||
|
textarea {
|
||||||
|
.placeholder();
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue