Modals
Use Bootstrapโs JavaScript modal plugin to add dialogs to your site for lightboxes, user notifications, or completely custom content.
Modal on BootstrapExample
<!-- Button trigger modal-->
<button class="btn btn-primary" type="button" data-toggle="modal" data-target="#exampleModal">Launch demo modal</button>
<!-- Modal-->
<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">Modal Title</h5><button class="close" type="button" data-dismiss="modal" aria-label="Close"><span class="font-weight-light" aria-hidden="true">×</span></button>
</div>
<div class="modal-body">
<p>Woohoo, you're reading this text in a modal!</p>
</div>
<div class="modal-footer"><button class="btn btn-secondary btn-sm" type="button" data-dismiss="modal">Close</button><button class="btn btn-primary btn-sm" type="button">Save changes</button></div>
</div>
</div>
</div>
Modal Right
<button class="btn btn-primary" type="button" data-toggle="modal" data-target="#exampleModalRight">Launch modal right</button>
<div class="modal modal-fixed-right fade" id="exampleModalRight" tabindex="-1" role="dialog" aria-labelledby="exampleModalRightLabel" aria-hidden="true">
<div class="modal-dialog modal-dialog-vertical" role="document">
<div class="modal-content border-0 min-vh-100">
<div class="modal-header">
<h5 class="modal-title" id="exampleModalRightLabel">Modal Right</h5><button class="close" type="button" data-dismiss="modal" aria-label="Close"><span class="font-weight-light" aria-hidden="true">×</span></button>
</div>
<div class="modal-body py-5 text-center"><img class="img-fluid" src="../assets/img/illustrations/modal-right.png" alt="">
<p class="mt-4">Place your list, image, form and other content into the modal right.</p><button class="btn btn-primary">Get Started</button>
</div>
</div>
</div>
</div>