I'm currently working on customizing the font for my User ID and Password placeholders. I've applied the css code below to change the font of the User ID placeholder, but for some reason, it's not affecting the Password placeholder font. Any ideas why?
Any suggestions or advice would be greatly appreciated.
::-webkit-input-placeholder { /* Chrome/Opera/Safari */
font-family: 'helveticaneueregular', sans-serif !important;
}
::-moz-placeholder { /* Firefox 19+ */
font-family: 'helveticaneueregular', sans-serif !important;
}
:-ms-input-placeholder { /* IE 10+ */
font-family: 'helveticaneueregular', sans-serif !important;
}
:-moz-placeholder { /* Firefox 18- */
font-family: 'helveticaneueregular', sans-serif !important;
}
<input style="font-family: 'helveticaneueregular', sans-serif !important;" type="text" id="username" name="username" role="textbox" class="rememberMainField txt15 commonFont1Style2 clearTextField" placeholder="User ID" required="" autocapitalize="off" autocomplete="off" autocorrect="off" aria-label="Enter Your User ID" maxlength="50" minlength="3" pattern="^[^ ]+$" relinputid="RelativeClass0">