Button hover background - HTML CSS CSS Widget

HTML CSS examples for CSS Widget:Button

Description

Button hover background

Demo Code

ResultView the demo in separate window

<html>
 <head> 
  <meta name="viewport" content="width=device-width, initial-scale=1"> 
  <style id="compiled-css" type="text/css">

#register {<!--   ww  w  .  j av  a2  s  .c om-->
   background: red;
}
#register:hover{
   background: black;
}


      </style> 
 </head> 
 <body> 
  <p> <i> <input type="button" id="register" value="register"> </i> </p>  
 </body>
</html>

Related Tutorials