HTML CSS examples for CSS Form:input
Change input background when having focus
<html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <style id="compiled-css" type="text/css"> input:focus {<!--from ww w . j av a2s .co m--> background-color:Chartreuse; } </style> </head> <body> <input type="text"> </body> </html>