Input responsive width - HTML CSS CSS Form

HTML CSS examples for CSS Form:input

Description

Input responsive width

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">
#exampleInputEmail1 {<!--   w  w w  . jav  a 2  s.co  m-->
   width:51%;
   display:block;
   margin-left:auto;
   margin-right:auto;
}
</style> 
 </head> 
 <body> 
  <div class="container"> 
   <div class="row"> 
    <form class="form"> 
     <input type="email" class="form-control" id="exampleInputEmail1"> 
    </form> 
   </div> 
  </div>  
 </body>
</html>

Related Tutorials