--- title: Modals summary: Use Bootstrap’s JavaScript modal plugin to add dialogs to your site for lightboxes, user notifications, or completely custom content. description: Dialogs for notifications and content. --- Modals are built with HTML, CSS, and JavaScript. They’re positioned over everything else in the document and remove scroll from the `
` so that modal content scrolls instead. ## Default markup To create a modal, you need to add a `.modal` element to the document. Inside the `.modal`, you need to add a `.modal-dialog` element, which contains a `.modal-content` element. The `.modal-content` element contains the modal’s header, body, and footer. ```html