HTML CSS examples for CSS Form:input
middle vertical-align input field
<html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <style id="compiled-css" type="text/css"> .vcenter {<!-- w ww . j av a 2 s . c o m--> height:376px; line-height:301px; } .vcenter input, .vcenter span { display:inline-flex; vertical-align:middle; } </style> </head> <body> <div class="col-lg-6 vcenter"> <div class="input-group"> <input type="text" class="form-control" placeholder="Search for..."> <span class="input-group-btn"> <button class="btn btn-default" type="button">Lor</button> </span> </div> <!-- /input-group --> </div> <!-- /.col-lg-6 --> </body> </html>