<div class="container mt-5">
    <div class="row">
      
      <div class="col-md-9">
        <button type="button" class="btn btn-primary" data-toggle="modal" data-target="#myExtraLargeModalLabel">
  Launch demo modal
</button>
      <!-- Modal -->

      

        <div class="modal fade bd-example-modal-xl" tabindex="-1" role="dialog" aria-labelledby="myExtraLargeModalLabel" aria-hidden="true" id="myExtraLargeModalLabel">
            <div class="modal-dialog modal-xl">
                <div class="modal-content">
                    <div class="modal-header">
                        <h5 class="modal-title">My PDF</h5>
                        <button type="button" class="close" data-dismiss="modal" aria-label="Close">
                        <span aria-hidden="true">&times;</span>
                        </button>
                    </div>
                    <div class="modal-body">
                        <div class="row">
                            <div class="col-md-12">
                             
                                <iframe src="https://classics.berkeley.edu/sites/default/files/2020-01/sample.pdf" style="width: 100%;height: 560px;border: none;"></iframe>

                            </div>
                        </div>
                    </div>
                    <div class="modal-footer">
                        <button type="button" class="btn btn-secondary" data-dismiss="modal">Close</button>
                    </div>
                </div>
            </div>
        </div>
        
        
        
        
     </div>
      
      
      
  </div>
     
</div>



External CSS

  1. https://cdn.jsdelivr.net/npm/bootstrap@4.5.3/dist/css/bootstrap.min.css

External JavaScript

  1. https://code.jquery.com/jquery-3.5.1.slim.min.js
  2. https://cdn.jsdelivr.net/npm/bootstrap@4.5.3/dist/js/bootstrap.bundle.min.js
  3. https://code.jquery.com/jquery-1.12.4.js
  4. https://code.jquery.com/ui/1.12.1/jquery-ui.js