HTML CSS examples for CSS Form:input
Set glow around input with border and color
<html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <style id="compiled-css" type="text/css"> body {<!--from ww w .j av a2 s . com--> margin: 10px; } .text { border: 1px solid #666; border-radius: 5px; padding: 3px; } .text:focus { border: 1px solid #07c; box-shadow: 0 0 5px #07c; outline: none; } </style> </head> <body> <input type="text" class="text" value="" placeholder="Username"> </body> </html>