Modals

Add dialogs to your site for lightboxes, user notifications, or completely custom content. Read the Official Bootstrap Documentation for a full list of instructions and other options.


Basic Example

Below is a static modal example (meaning its position and display have been overridden). Included are the modal header, modal body (required for padding), and modal footer (optional).




Vertically Centered

Display modal in the center of the screen by adding .modal-dialog-centered to .modal-dialog.




Static Backdrop

When backdrop is set to static, the modal will not close when clicking outside it. Click the button below to try it.




Fullscreen Modal

Another override is the option to pop up a modal that covers the user viewport, available via modifier classes that are placed on a .modal-dialog.




Optional Sizes

Modals have three optional sizes, available via modifier classes to be placed on a .modal-dialog.




Remove Animation

For modals that simply appear rather than fade in to view, remove the .fade class from your modal markup.