Applying CSS on the placeholder text of an input field

You can apply CSS rule on the placeholder text of an input field. Here is the CSS properties.


  ::-webkit-input-placeholder { /* Edge Browser */
    color: #ff0033;
  }

  :-ms-input-placeholder { /* Internet Explorer 10-11 */
    color: #ff0033;
  }

  ::placeholder {
    color: #ff0033;
  }