HTML CSS examples for CSS Form:input
Input placeholder vertical align
<html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <style id="compiled-css" type="text/css"> body {<!-- ww w . ja v a2 s .c om--> background-color:Chartreuse; } input[type='text'] { background-color:yellow; border:4px solid blue; min-height:46px; line-height:46px; border-radius:7px; color:pink; } input[type='text']::-webkit-input-placeholder { font-size:26px; color:OrangeRed; text-transform:uppercase; vertical-align:middle; } </style> </head> <body> <form> <input type="text" placeholder="Name"> </form> </body> </html>