how to get input in center of row code example Example: center form group bootstrap .class { margin: 0 auto; float: none; //optional }