Changing the color of “input placeholder” for a “search box” not working [duplicate]
تبليغيرجى شرح بإيجاز لمإذا تشعر أنك ينبغي الإبلاغ عن هذا السؤال.
I’m trying to change the color of an input placeholder for a search box with CSS and it’s not working.
I’ve tried this method:
/* Chrome/Opera/Safari */
color: #000000;
}
input.search-field.fill_inited::-moz-placeholder {
/* Firefox 19+ */
color: #000000;
}
input.search-field.fill_inited:-ms-input-placeholder {
/* IE 10+ */
color: #000000;
}
input.search-field.fill_inited:-moz-placeholder {
/* Firefox 18- */
color: #000000;
}
<input type=”search” class=”search-field fill_inited” placeholder=”Search …” value name=”s”>
أضف إجابة