Modal

Use Bootstrap’s JavaScript modal plugin to add dialogs to your site for lightboxes, user notifications, or completely custom content.

Default

<button type="button" class="btn btn-primary" data-toggle="modal" data-target="#exampleModal-1">
  Launch modal
</button>

<div class="modal fade" id="exampleModal-1" 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 type="button" class="close" data-dismiss="modal" aria-label="Close">
          <span aria-hidden="true">×</span>
        </button>
      </div>
      <div class="modal-body">
        <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Eos molestiae at, reprehenderit nam optio eveniet ad corporis quasi excepturi accusantium, dicta fuga. Quos, voluptatibus. Quidem autem quo, minima cupiditate eius.</p>
      </div>
      <div class="modal-footer">
        <div class="container-fluid">
          <div class="row gutter-0">
            <div class="col">
              <button type="button" class="btn btn-block btn-secondary" data-dismiss="modal">Close</button>
            </div>
            <div class="col">
              <button type="button" class="btn btn-block btn-primary">Save changes</button>
            </div>
          </div>
        </div>
      </div>
    </div>
  </div>
</div>

With Image

<button type="button" class="btn btn-primary" data-toggle="modal" data-target="#exampleModal-2">
  Launch modal
</button>


<div class="modal modal-alt fade" id="exampleModal-2" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel-2" aria-hidden="true">
  <div class="modal-dialog modal-dialog-centered" role="document">
    <div class="modal-content">
      <div class="modal-header">
        <span class="image" style="background-image: url(image/url/here)"></span>
        <button type="button" class="close" data-dismiss="modal" aria-label="Close">
          <span aria-hidden="true">×</span>
        </button>
      </div>
      <div class="modal-body">
        <h5 class="modal-title" id="exampleModalLabel-2">Newsletter</h5>
        <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Doloribus inventore, maiores mollitia molestiae totam, sint facere.</p>
        <div class="input-group">
          <input type="text" class="form-control form-control-lg" placeholder="Email" aria-label="Email">
          <div class="input-group-append">
            <button type="button" class="btn btn-lg btn-primary">Subscribe</button>
          </div>
        </div>
      </div>
    </div>
  </div>
</div>