set button gradient color for textbox - HTML CSS CSS Form

HTML CSS examples for CSS Form:input button text

Description

set button gradient color for textbox

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

textarea {<!--  ww  w  .  ja  v  a2  s. c  om-->
   background: -webkit-linear-gradient(red, black);
   background: -moz-linear-gradient(top,  red,  black);
   filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff0000', endColorstr='#000000');
}


      </style> 
 </head> 
 <body> 
  <textarea>test</textarea>  
 </body>
</html>

Related Tutorials