HTML CSS examples for CSS Form:input button layout
Hover buttons and align them
<html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <style id="compiled-css" type="text/css"> .button {<!--from w ww . j a va2s . c o m--> padding:40px 40px; color:#392a23; background-color:#a2a2a2; display: inline-block; } .button:hover { padding:40px 40px; color:#372d2f; background-color:#00aeff; } </style> </head> <body> <a href="#" class="button">Home</a> <a href="#" class="button">Games</a> </body> </html>