Drawing a circle in a submit button - HTML CSS CSS Form

HTML CSS examples for CSS Form:input submit

Description

Drawing a circle in a 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">

button[type=submit] {
   width: 101px; height: 16px;
   line-height:12px;
   background-color: #f68830;
   webkit-border-radius: 9px; -moz-border-radius: 9px; border-radius: 9px;
   border: none; cursor:pointer;
}
button[type=submit]:hover::after {
   display:inline-block;
   content:'';<!-- w  ww . j  a  va 2  s. com-->
   width:12px;
   height:12px;
   vertical-align:middle;
   background-color: #145;
   border-radius: 50%;
}


      </style> 
 </head> 
 <body> 
  <button type="submit"></button>  
 </body>
</html>

Related Tutorials