Changing form button style without losing 3d effect - HTML CSS CSS Form

HTML CSS examples for CSS Form:input button style

Description

Changing form button style without losing 3d effect

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 {<!--  w w  w  .ja  v  a 2  s.c om-->
   margin:0px; padding:0px;
   background: #e4f5fc;
   background: -moz-linear-gradient(top,  #e4f5fc 0%, #bfe8f9 50%, #9fd8ef 51%, #2ab0ed 100%);
   background: -webkit-linear-gradient(top,  #e4f5fc 0%,#bfe8f9 50%,#9fd8ef 51%,#2ab0ed 100%);
   background: linear-gradient(to bottom,  #e4f5fc 0%,#bfe8f9 50%,#9fd8ef 51%,#2ab0ed 100%);
   filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#e4f5fc', endColorstr='#2ab0ed',GradientType=0 );
}


      </style> 
 </head> 
 <body> 
  <button>BUTTON!!!</button>  
 </body>
</html>

Related Tutorials