I am currently utilizing the modalExample provided in the Bootstrap documentation.
<button type="button" class="btn btn-primary" data-toggle="modal" data-target="#exampleModal">Open modal</button>
<div class="modal fade" id="exampleModal" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel" aria-hidden="true">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title" id="exampleModalLabel">New message</h5>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
<div class="modal-body">
<form>
<div class="form-group">
<label for="recipient-name" class="col-form-label">Recipient:</label>
<input type="text" class="form-control" id="recipient-name">
</div>
<div class="form-group">
<label for="message-text" class="col-form-label">Message:</label>
<textarea class="form-control" id="message-text"></textarea>
</div>
</form>
</div>
<div class="modal-footer text-left">
<button type="button" class="btn btn-primary">Send message</button>
</div>
</div>
</div>
</div>
Is there a way to align the "Send message" button to the left instead of its default right position?
I have attempted using classes like text-left
or position-left
but without success. Any suggestions would be greatly appreciated!
Thank you!