<!DOCTYPE html>
<
html
lang
=
"en"
>
<
head
>
<
meta
charset
=
"UTF-8"
>
<
meta
http-equiv
=
"X-UA-Compatible"
content
=
"IE=edge"
>
<
meta
name
=
"viewport"
content
=
"width=device-width, initial-scale=1.0"
>
<
link
rel
=
"stylesheet"
href
=
<
script
src
=
</
script
>
<
script
src
=
</
script
>
</
head
>
<
body
>
<
div
class
=
"container"
>
<
div
>
<
h1
class
=
"text-success"
>
GeeksforGeeks
</
h1
>
<
strong
>
Bootstrap 5 Modal Remove Animation
</
strong
>
</
div
>
<
div
class
=
"modal"
id
=
"gfg"
tabindex
=
"-1"
>
<
div
class
=
"modal-dialog"
>
<
div
class
=
"modal-content"
>
<
div
class
=
"modal-header"
>
<
h1
class
=
"modal-title"
id
=
"gfgLabel"
>
GeeksforGeeks
</
h1
>
</
div
>
<
div
class
=
"modal-body"
>
GeeksforGeeks is a computer science
portal for the geeks. Here you can
consume computer science related content
or share your knowledge with
the world by contributing on the write
portal.
</
div
>
</
div
>
</
div
>
</
div
>
<
div
class
=
"modal fade"
id
=
"gfg-fade"
tabindex
=
"-1"
>
<
div
class
=
"modal-dialog"
>
<
div
class
=
"modal-content"
>
<
div
class
=
"modal-header"
>
<
h1
class
=
"modal-title"
id
=
"gfgLabel"
>
GeeksforGeeks
</
h1
>
</
div
>
<
div
class
=
"modal-body"
>
GeeksforGeeks is a computer science
portal for the geeks. Here you can
consume computer science related
content or share your knowledge with
the world by contributing on the write
portal.
</
div
>
</
div
>
</
div
>
</
div
>
<
div
class
=
"mt-4"
>
<
button
class
=
"btn btn-success"
data-bs-toggle
=
"modal"
data-bs-target
=
"#gfg"
>
Show Modal without fade class
</
button
>
<
button
class
=
"btn btn-danger"
data-bs-toggle
=
"modal"
data-bs-target
=
"#gfg-fade"
>
Show Modal with fade class
</
button
>
</
div
>
</
div
>
</
body
>
</
html
>