<!DOCTYPE html>
<
head
>
<
title
>Modal example</
title
>
<
meta
charset
=
"utf-8"
>
<
meta
name
=
"viewport"
content
=
"width=device-width, initial-scale=1"
>
<
link
rel
=
"stylesheet"
integrity
=
"sha384-GJzZqFGwb1QTTN6wy59ffF1BuGJpLSa9DkKMp0DgiMDm4iYMj70gZWKYbI706tWS"
crossorigin
=
"anonymous"
>
<
script
integrity
=
"sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo"
crossorigin
=
"anonymous"
></
script
>
<
script
integrity
=
"sha384-B0UglyR+jN6CkvvICOB2joaf5I4l3gm9GU6Hc1og6Ls7i6U/mkkaduKaBhlAXv9k"
crossorigin
=
"anonymous"
></
script
>
</
head
>
<
body
>
<
button
type
=
"button"
class
=
"btn btn-primary"
data-toggle
=
"modal"
data-target
=
".smallExampleModal"
>SMALL MODAL</
button
>
<
div
class
=
"modal fade smallExampleModal"
tabindex
=
"-1"
role
=
"dialog"
aria-labelledby
=
"mySmallModalLabel"
aria-hidden
=
"true"
>
<
div
class
=
"modal-dialog modal-sm"
>
<
div
class
=
"modal-content"
>
<
div
class
=
"modal-header"
>
<
h3
>Small Modal</
h3
>
</
div
>
</
div
>
</
div
>
</
div
>
<
button
type
=
"button"
class
=
"btn btn-primary"
data-toggle
=
"modal"
data-target
=
".largeExampleModal"
>LARGE MODAL</
button
>
<
div
class
=
"modal fade largeExampleModal"
tabindex
=
"-1"
role
=
"dialog"
aria-labelledby
=
"myLargeModalLabel"
aria-hidden
=
"true"
>
<
div
class
=
"modal-dialog modal-lg"
>
<
div
class
=
"modal-content"
>
<
div
class
=
"modal-header"
>
<
h3
>Large Modal</
h3
>
</
div
>
</
div
>
</
div
>
</
div
>
<
button
type
=
"button"
class
=
"btn btn-primary"
data-toggle
=
"modal"
data-target
=
".extraLargeExampleModal"
>EXTRA LARGE MODAL</
button
>
<
div
class
=
"modal fade extraLargeExampleModal"
tabindex
=
"-1"
role
=
"dialog"
aria-labelledby
=
"myExtraLargeModalLabel"
aria-hidden
=
"true"
>
<
div
class
=
"modal-dialog modal-xl"
>
<
div
class
=
"modal-content"
>
<
div
class
=
"modal-header"
>
<
h3
>Extra Large Modal</
h3
>
</
div
>
</
div
>
</
div
>
</
div
>
</
body
>
</
html
>