I want to change the color of a particular place owner. I use a lot of input fields for my project, the problem is that in some section I need a gray color for a placeholder, and in some section I need a white color for a placeholder. I searched for this goal and found this solution.
::-webkit-input-placeholder { color: #909; } :-moz-placeholder { color: #909; opacity: 1; } ::-moz-placeholder { color: #909; opacity: 1; } :-ms-input-placeholder { color: #909; }
But this code is implemented on all input placeholders, and I don't need the entire input placeholder of the same color. So who can help me. Thanks in advance.
source share