Answers for "set the placeholder colour"

CSS
29

css placeholder color

::-webkit-input-placeholder { /* Chrome/Opera/Safari */
  color: pink;
}
::-moz-placeholder { /* Firefox 19+ */
  color: pink;
}
:-ms-input-placeholder { /* IE 10+ */
  color: pink;
}
:-moz-placeholder { /* Firefox 18- */
  color: pink;
}
Posted by: Guest on November-10-2020
-2

placeholder color default

/* In 2021,
For Chrome */
#9ca3af
Posted by: Guest on July-01-2021

Browse Popular Code Answers by Language