HTML CSS examples for CSS Form:input
Underline single letter in an input placeholder
<html lang="en"> <head> <title>Lorem ips</title> <style> input {<!-- w w w.ja v a 2 s . c o m--> font-size:21px; padding:11px; } ::-webkit-input-placeholder::first-letter { color:Chartreuse; border-bottom:2px solid yellow; text-decoration:underline; } ::-moz-placeholder::first-letter { color:blue; text-decoration:underline; } :-ms-input-placeholder:first-letter { color:pink; text-decoration:underline; } </style> </head> <body translate="no"> <input type="text" placeholder="First Name"> </body> </html>