Create input with border - HTML CSS CSS Widget

HTML CSS examples for CSS Widget:Border Style

Description

Create input with border

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{<!--from   w  ww .j  a v a  2 s. c o m-->
   border: 1px solid #CFC8BC;
   border-radius: 4px;
   box-shadow: 0 1px #CFC8BC;
}


      </style> 
 </head> 
 <body> 
  <div> 
   <input type="text" id="inputName" name="name"> 
  </div>  
 </body>
</html>

Related Tutorials