<form class="form-inline py-3"> <input type="text" class="form-control"/> <input type="text" class="form-control"/> <button type="submit" class="btn btn-primary">Submit</button> </form>