1
0
Fork 0
mirror of https://github.com/twbs/bootstrap.git synced 2022-11-09 12:25:43 -05:00

Fixes #6841: Add new Firefox placeholder, comments

This commit is contained in:
Mark Otto 2013-02-08 08:32:29 -08:00
parent 3eed90c187
commit 1b2b049ef8
2 changed files with 9 additions and 9 deletions

View file

@ -1178,6 +1178,11 @@ textarea:-moz-placeholder {
color: #999999;
}
input::-moz-placeholder,
textarea::-moz-placeholder {
color: #999999;
}
input:-ms-input-placeholder,
textarea:-ms-input-placeholder {
color: #999999;

View file

@ -54,15 +54,10 @@
// Placeholder text
.placeholder(@color: @input-color-placeholder) {
&:-moz-placeholder {
color: @color;
}
&:-ms-input-placeholder {
color: @color;
}
&::-webkit-input-placeholder {
color: @color;
}
&:-moz-placeholder { color: @color; } // Firefox 4-18
&::-moz-placeholder { color: @color; } // Firefox 19+
&:-ms-input-placeholder { color: @color; } // Internet Explorer 10+
&::-webkit-input-placeholder { color: @color; } // Safari and Chrome
}
// Text overflow