Commit 1b2b049e authored by Mark Otto's avatar Mark Otto
Browse files

Fixes #6841: Add new Firefox placeholder, comments

parent 3eed90c1
Showing with 9 additions and 9 deletions
+9 -9
...@@ -1178,6 +1178,11 @@ textarea:-moz-placeholder { ...@@ -1178,6 +1178,11 @@ textarea:-moz-placeholder {
color: #999999; color: #999999;
} }
input::-moz-placeholder,
textarea::-moz-placeholder {
color: #999999;
}
input:-ms-input-placeholder, input:-ms-input-placeholder,
textarea:-ms-input-placeholder { textarea:-ms-input-placeholder {
color: #999999; color: #999999;
......
...@@ -54,15 +54,10 @@ ...@@ -54,15 +54,10 @@
// Placeholder text // Placeholder text
.placeholder(@color: @input-color-placeholder) { .placeholder(@color: @input-color-placeholder) {
&:-moz-placeholder { &:-moz-placeholder { color: @color; } // Firefox 4-18
color: @color; &::-moz-placeholder { color: @color; } // Firefox 19+
} &:-ms-input-placeholder { color: @color; } // Internet Explorer 10+
&:-ms-input-placeholder { &::-webkit-input-placeholder { color: @color; } // Safari and Chrome
color: @color;
}
&::-webkit-input-placeholder {
color: @color;
}
} }
// Text overflow // Text overflow
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment