Categories
Simple searchbox?
JSFiddle Does n't work to align input and button. I want them to be on the same line and close to each other.
Answer the question
In order to leave comments, you need to log in
.search-box { width: 100%; margin: 15px 0; display: flex; }
<form class="form-group search-box d-flex"> <input placeholder="Search..." class="form-control"> <button class="btn btn-default"> <i class="fa fa-search"></i> </button> </form>
Didn't find what you were looking for?
Ask a Question
731 491 924 answers to any question