This feature is non-standard and is not on a standards track. Do not use it on production sites facing the Web: it will not work for every user. There may also be large incompatibilities between implementations and the behavior may change in the future.


The ::-ms-value pseudo-element applies rules to the value/content of an <input> or a <select>. Only certain properties can be set on this pseudo-element; others will have no effect.


input::-ms-value { style properties }

select::-ms-value { style properties }


input::-ms-value {
  color: lime;
  font-style: italic;


Not part of any specification.

Document Tags and Contributors

 Contributors to this page: AdrianoCahete, mfluehr, cvrebert, kscarfone
 Last updated by: AdrianoCahete,