Is there any other short and fast way to align to your <div>
or <input>
or anything? Suppose I want to make a bootstrap modal:
<!-- Trigger the modal with a button -->
<li>
<button type="button" class="fa fa-search fa-2x search-icon" data-toggle="modal" data-target="#search"></button>
</li>
<!-- Modal -->
<div id="search" class="modal fade" role="dialog">
<div class="modal-dialog search">
<!-- Modal content -->
<div class="modal-content">
<button type="button" class="close" data-dismiss="modal">×</button>
<input class="searchArea" type="search" placeholder="Search Here">
</div>
</div>
</div>
If I make a modal and want to add <input type="search">
in the modal, and without any CSS positioning (top left right bottom), can I put the INPUT SEARCH box in the center of the page?