W3 Mind Logo
Home » CSS for disabled input field

CSS for disabled input field

If you only want to style the input fields of type=”text”:
				
					input[type="text"]:disabled {
  background: #eee;
}
				
			
And if you want to style all the input fields.
				
					input:disabled {
  background: #eee;
}
				
			
About Author
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
Leave a Reply

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

How to
START A
BLOG
(step by step)
Load WordPress Sites in as fast as 37ms!