Style html form buttons with css - HTML CSS CSS Form

HTML CSS examples for CSS Form:input button style

Description

Style html form buttons with css

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">

#submit {<!--  w  w  w. j a va2 s . c  om-->
   background-color: #ccc;
   -moz-border-radius: 5px;
   -webkit-border-radius: 5px;
   border-radius:6px;
   color: #fff;
   font-family: 'Oswald';
   font-size: 20px;
   text-decoration: none;
   cursor: poiner;
   border:none;
}
#submit:hover {
   border: none;
   background:red;
   box-shadow: 0px 0px 1px #777;
}


      </style> 
 </head> 
 <body> 
  <input type="submit" name="submit" value="Submit Application" id="submit">  
 </body>
</html>

Related Tutorials