Button with <button> tag styling - HTML CSS CSS Form

HTML CSS examples for CSS Form:input button style

Description

Button with <button> tag styling

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

#back<!--   w w  w .ja v  a2 s .c  o  m-->
{
   width:400px;
   background-color:#ffffe1;
}
#border-button
{
   border:1px solid #ccc;
}
#radius-button
{
   border-radius:3px;
}
#both-button
{
   border:1px solid #ccc;
   border-radius:3px;
}


      </style> 
 </head> 
 <body> 
  <div id="back"> 
   <button id="border-button" type="button">Text here</button> 
   <button id="radius-button" type="button">Text here</button> 
   <button id="both-button" type="button">Text here</button> 
  </div>  
 </body>
</html>

Related Tutorials