Loading...
Live demo

Toggle a working modal demo by clicking the button below. It will slide down and fade in from the top of the page.

Static backdrop

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

Scrolling long content

When modals become too long for the user’s viewport or device,they scroll independent of the page itself. Try the demo below to see what we mean.

Scrollable

You can also create a scrollable modal that allows scroll the modal body by adding .modal-dialog-scrollableto .modal-dialog.

Vertically centered

Add .modal-dialog-centeredto .modal-dialogto vertically center the modal.