Modals

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

Modal

<div class="modal fade" id="exampleModal" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel" aria-hidden="true">
  <div class="modal-dialog modal-dialog-centered" role="document">
    <div class="modal-content">
      <div class="modal-header justify-content-end">
        <button type="button" class="close" data-dismiss="modal" aria-label="Close">
          <span aria-hidden="true" class="icon-x"></span>
        </button>
      </div>
      <div class="modal-body text-center">
        <h3>Modal title</h3>
        <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Molestias alias ipsam minima, dolore! Modi enim porro neque quaerat blanditiis. Ipsa aliquam quam maxime rerum eum accusamus nulla, molestiae soluta repellendus!</p>
      </div>
      <div class="modal-footer">
        <button type="button" class="btn btn-primary btn-block">Save changes</button>
      </div>
    </div>
  </div>
</div>

Modal with image

<div class="modal fade" id="exampleModal-2" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel" aria-hidden="true">
  <div class="modal-dialog modal-dialog-centered" role="document">
    <div class="modal-content">
      <div class="modal-image">
        <img src="path/to/image" alt="Image" class="modal-image">
        <button type="button" class="close close-absolute" data-dismiss="modal" aria-label="Close">
          <span aria-hidden="true" class="icon-x"></span>
        </button>
      </div>
      <div class="modal-body text-center">
        <h3>Modal title</h3>
        <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Molestias alias ipsam minima, dolore! Modi enim porro neque quaerat blanditiis. Ipsa aliquam quam maxime rerum eum accusamus nulla, molestiae soluta repellendus!</p>
      </div>
      <div class="modal-footer gutter-1">
        <div class="container-fluid">
          <div class="row gutter-1">
            <div class="col-8">
              <button type="button" class="btn btn-block btn-primary">Save changes</button>
            </div>
            <div class="col-4">
              <button type="button" class="btn btn-block btn-red">Cancel</button>
            </div>
          </div>
        </div>
      </div>
    </div>
  </div>
</div>

Modal with background

<div class="modal fade" id="exampleModal-3" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel" aria-hidden="true">
  <div class="modal-dialog modal-dialog-centered" role="document">
    <div class="modal-content text-white">
      <div class="image image-overlay" style="background-image:url(../assets/images/demo/studio-1.jpg)"></div>
      <div class="modal-header justify-content-end">
        <button type="button" class="close" data-dismiss="modal" aria-label="Close">
          <span aria-hidden="true" class="icon-x"></span>
        </button>
      </div>
      <div class="modal-body">
        <h3 class="mb-1">Modal title</h3>
        <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Molestias alias ipsam minima, dolore! Modi enim porro neque quaerat blanditiis.</p>
      </div>
      <div class="modal-footer">
        <button type="button" class="btn btn-white btn-block">Save changes</button>
      </div>
    </div>
  </div>
</div>

Video Modal