HTML CSS examples for CSS Form:input submit
Changing button colors for submit buttons
<html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <style id="compiled-css" type="text/css"> input[type=submit] { border: none; margin-right: 1em; padding-left: 30px; padding-right: 30px; text-decoration: none;<!-- w ww .ja v a2s . co m--> font-size: 20px; background: #549396; color: white; -moz-border-radius: 2px; -webkit-border-radius: 2px; border-radius: 2px; position: relative; } input.blueBtn {color:#fff;background:#0000FF;} input.grayBtn {color:#000;background:#eee;} </style> </head> <body> <input type="submit" value="Submit"> <input type="submit" value="Submit" class="blueBtn"> <input type="submit" value="Submit" class="grayBtn"> </body> </html>