Menu Close

How to change input placeholder color?

0
(0)

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:

How useful was this post?

Click on a star to rate it!

Average rating 0 / 5. Vote count: 0

No votes so far! Be the first to rate this post.

We are sorry that this post was not useful for you!

Let us improve this post!

Tell us how we can improve this post?

Share

Posted in CSS, HTML

Leave a Reply

Your email address will not be published. Required fields are marked *

You can also read...