"Bootstrap Full Screen Model Right"
Bootstrap 4.1.1 Snippet by sparkwebit.com

<link href="//maxcdn.bootstrapcdn.com/bootstrap/4.1.1/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css"> <script src="//maxcdn.bootstrapcdn.com/bootstrap/4.1.1/js/bootstrap.min.js"></script> <script src="//cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script> <!------ Include the above in your HEAD tag ----------> <!-- Button trigger modal --> <button type="button" class="btn btn-primary my-example-model" data-toggle="modal" data-target="#fullHeightModalRight"> Launch demo modal </button> <!-- Full Height Modal Right --> <div class="modal fade right" id="fullHeightModalRight" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true"> <!-- Add class .modal-full-height and then add class .modal-right (or other classes from list above) to set a position to the modal --> <div class="modal-dialog modal-full-height modal-right" role="document"> <div class="modal-content"> <div class="modal-header"> <h4 class="modal-title w-100" id="myModalLabel">Modal title</h4> <button type="button" class="close" data-dismiss="modal" aria-label="Close"> <span aria-hidden="true">×</span> </button> </div> <div class="modal-body"> <h2> Say Hello Sparkwebit.com</h2> </div> <div class="modal-footer justify-content-center"> <button type="button" class="btn btn-secondary" data-dismiss="modal">Close</button> <button type="button" class="btn btn-primary">Save changes</button> </div> </div> </div> </div> <!-- Full Height Modal Right -->
.my-example-model{margin:0 auto;text-align:center;}

Related: See More


Questions / Comments: