HTML CSS examples for CSS Widget:Font
Change the placeholder's font-weight
<html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <style id="compiled-css" type="text/css"> .infoPlaceholder::-webkit-input-placeholder { font-weight:lighter; color:Chartreuse; } .infoPlaceholder::-moz-placeholder {<!--from ww w .ja v a2 s .c om--> font-weight:lighter; color:yellow; } .infoPlaceholder::-ms-input-placeholder { font-weight:lighter; color:blue; } </style> </head> <body> <input class="infoPlaceholder" name="firstName" placeholder="First Name"> </body> </html>