Each browser engine has a different implementation for managing the placeholder style. Use the following:
JsBin example.
input { text-transform: uppercase; } ::-webkit-input-placeholder { text-transform: none; } :-moz-placeholder { text-transform: none; } ::-moz-placeholder { text-transform: none; } :-ms-input-placeholder { text-transform: none; } ::placeholder { text-transform: none; }
Needless to say, this only works in browsers that can handle placeholders. (IE9 / 10 +)
Sander Koedood Aug 07 '14 at 10:30 2014-08-07 10:30
source share