Home » Applying CSS on the placeholder text of an input field

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;
  }
				
			
About Author
Picture of W3Mind

W3Mind

W3Mind focuses on Blogging, Make Money Online, SEO, Business Blogging, Social Media, WordPress, Internet Tools, Web Design and Development.
Give it a Share
Facebook
Twitter
LinkedIn
You May Also Like
How to
START A
BLOG
(step by step)
Load WordPress Sites in as fast as 37ms!