Input type center alignment - HTML CSS CSS Form

HTML CSS examples for CSS Form:input

Description

Input type center alignment

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 {<!--  www . ja  v a  2s . c  o  m-->
   outline:none;
   border-radius:6px;
   border-style:none;
   height:46px;
   width:219px;
   padding:0 17px;
   font-family:Helvetica Neue;
   font-size:19px;
   background-color:Chartreuse;
   margin:0 auto;
   text-align:center;
}
</style> 
 </head> 
 <body> 
  <input type="text" placeholder="Email">  
 </body>
</html>

Related Tutorials