Background image for submit button - HTML CSS CSS Form

HTML CSS examples for CSS Form:input submit

Description

Background image for submit button

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

input.mybtn {<!--from w ww .  java 2s .  c  om-->
   background-image: url("https://www.java2s.com/style/demo/Safari.png");
   font-size: 12px;
   padding: 10px;
}


      </style> 
 </head> 
 <body> 
  <input type="submit" name="submit" class="mybtn">  
 </body>
</html>

Related Tutorials