HTML CSS examples for CSS Form:input button style
Css button code
<html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <style id="compiled-css" type="text/css"> .b{<!--from w w w . j a v a 2 s . co m--> border:solid; border-width:2px; border-radius:5px; background-color:white; font-size:20px; color:grey; padding:6px; font-weight:1000000; } .b:hover{ border-color:#aaaaaa; color:#aaaaaa; } .b:active{ border-color:#555555; color:#555555; } </style> </head> <body> <input type="button" class="b" value="button"> </body> </html>