placeholder Properties
Placeholder (placeholder) in the actual application is very common, mainly used to prompt input content, modern browsers support: placeholder style this is a search online. Placeholder style related knowledge, share:/* all */:-webkit-input-placeholder {color: #f00;}::-moz-placeholder {color: #f00;}/* Fir Efox 19+/:-ms-input-placeholder {color: #f00}/* Internet Explorer 10+/:-moz-placeholder {color: #f00;}/* Firefo X 14-18 * * * WebKit private/////#field2::-webkit-input-placeholder {color: #00f;} #field3::-webkit-input-placeholder {Colo R: #090; Background:lightgreen; Text-transform:uppercase; #field4::-webkit-input-placeholder {font-style:italic; text-decoration:overline; letter-spacing:3px; color: #999;} * Mozilla Private/#field2::-moz-placeholder {color: #00f;} #field3::-moz-placeholder {color: #090; background:lightgreen; Text-transform:uppercase; #field4::-moz-placeholder {font-style:italic; text-decoration:overline; letter-spacing:3px; color: #999;} You can see that the placeholder pseudo class style is still relatively rich.