Menu Close

How to change input placeholder color?

codeamend

Learn the details about How to change input placeholder color instantly right from your google search results with the Codeamend.

HTML

<input type="text" placeholder="Placeholder color.."> 

CSS

<style>
::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
  color: green;
}

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

::-ms-input-placeholder { /* Microsoft Edge */
 color: green;
}
</style> 

Output

Change the placeholder Color:

Share

Posted in CSS, HTML

You can also read...

Leave a Reply

Your email address will not be published.