Skip to main content
Copy edited (e.g. ref. <https://en.wiktionary.org/wiki/placeholder#Noun>).
Source Link
Peter Mortensen
  • 31.4k
  • 22
  • 109
  • 132

I think this code will work because place holder needsa placeholder is needed only for input type text. So this one line cssCSS will be enough for your need:

input[type="text"]::-webkit-input-placeholder {
    color: red;
}

I think this code will work because place holder needs only for input type text. So this one line css will be enough for your need:

input[type="text"]::-webkit-input-placeholder {
   color: red;
}

I think this code will work because a placeholder is needed only for input type text. So this one line CSS will be enough for your need:

input[type="text"]::-webkit-input-placeholder {
    color: red;
}
added 103 characters in body
Source Link
Alias Varghese
  • 2.2k
  • 3
  • 25
  • 53

I think this code will work because place holder needs only for input type text. So this one line css will be enough for your need:

input[type="text"]::-webkit-input-placeholder {
   color: red;
}

I think this code will work:

input[type="text"]::-webkit-input-placeholder {
   color: red;
}

I think this code will work because place holder needs only for input type text. So this one line css will be enough for your need:

input[type="text"]::-webkit-input-placeholder {
   color: red;
}
Mod Removes Wiki by Matt
Source Link
Alias Varghese
  • 2.2k
  • 3
  • 25
  • 53

I think this code will work:

input[type="text"]::-webkit-input-placeholder {
   color: red;
}
Post Made Community Wiki by Alias Varghese