Bootstrap Home

Modals

Modal Example

Click on the button to open the modal.


Fading Modal Example

Click on the button to open the modal.


Modal Size

Small Modal Example

Click on the button to open the modal.


Large Modal Example

Click on the button to open the modal.


Extra Large Modal Example

Click on the button to open the modal.


Fullscreen Modal Example

Click on the button to open the fullscreen modal.


Responsive Fullscreen Modal Example

Small

The modal-fullscreen-sm-down class will display a modal that is in fullscreen below 576px.

Click the button and resize the browser window to see the effect.


Medium

The modal-fullscreen-md-down class will display a modal that is in fullscreen below 768px.

Click the button and resize the browser window to see the effect.


Large

The modal-fullscreen-lg-down class will display a modal that is in fullscreen below 992px.

Click the button and resize the browser window to see the effect.


Extra Large

The modal-fullscreen-xl-down class will display a modal that is in fullscreen below 1200px.

Click the button and resize the browser window to see the effect.


XX Large

The modal-fullscreen-xxl-down class will display a modal that is in fullscreen below 1400px.

Click the button and resize the browser window to see the effect.


Vertically Centered Modal Example

Click on the button to open the modal.


Modal Scroll Example

Click on the button to open the modal.


Scroll Inside The Modal

Click on the button to open the modal.


Static Backdrop

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


Tooltips And Popovers

Tooltips and popovers can be placed within modals as needed. When modals are closed, any tooltips and popovers within are also automatically dismissed.


Using The Grid

Utilize the Bootstrap grid system within a modal by nesting .container-fluid within the .modal-body. Then, use the normal grid system classes as you would anywhere else.


Varying Modal Content

Have a bunch of buttons that all trigger the same modal with slightly different contents.


Toggle Between Modals

Toggle between multiple modals with placement of the data-bs-target and data-bs-toggle attributes.


Open first modal