Static Modal Example
Below is a static modal example.
Toggle a working modal demo by clicking the button below. It will slide down and fade in from the top of the page.
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.
Scrolling long content in Modal Body
You can also create a scrollable modal that allows scroll the modal body by adding
.modal-dialog to vertically center the modal.
Modals have three optional sizes, available via modifier classes to be placed on a
.modal-dialog. These sizes kick in at certain breakpoints to avoid horizontal scrollbars on narrower viewports.
Side Modal Right
Drawer kind modal with right slide in animation. Applies
Side Modal Left
.modal to make it slide from left.