5
5
< meta charset ="utf-8 ">
6
6
< meta name ="viewport " content ="width=device-width, initial-scale=1, shrink-to-fit=no ">
7
7
8
+ < script src ="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js "> </ script >
9
+
8
10
<!-- Bootstrap CSS -->
9
11
< link rel ="stylesheet " href ="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css " integrity ="sha384-JcKb8q3iqJ61gNV9KGb8thSsNjpSL0n8PARn9HuZOnIxN0hoP+VmmDGMN5t9UJ0Z " crossorigin ="anonymous ">
10
12
< link rel ="stylesheet " href ="css/basic-html-elements.css " media ="all " type ="text/css ">
11
13
< title > Basic HTML Elements</ title >
14
+
15
+ < style >
16
+ .fade2 {
17
+ opacity : 0 ;
18
+ transition : all 0.5s linear;
19
+ }
20
+
21
+ .fade2 .show {
22
+ opacity : 1 ;
23
+ }
24
+ </ style >
12
25
</ head >
13
26
< body >
14
27
@@ -226,6 +239,11 @@ <h2>Modal</h2>
226
239
Launch demo modal
227
240
</ button >
228
241
</ div >
242
+ < div class ="row " style ="margin-top: 20px; ">
243
+ < button id ="popup_modal_fade " type ="button " class ="btn btn-primary " data-toggle ="modal " data-target ="#exampleModalFade ">
244
+ Launch demo modal fade
245
+ </ button >
246
+ </ div >
229
247
< hr >
230
248
< div class ="modal fade " id ="exampleModal " tabindex ="-1 " role ="dialog " aria-labelledby ="exampleModalLabel " aria-hidden ="true ">
231
249
< div class ="modal-dialog " role ="document ">
@@ -245,6 +263,26 @@ <h5 class="modal-title" id="exampleModalLongTitle">Modal title</h5>
245
263
</ div >
246
264
</ div >
247
265
</ div >
266
+
267
+ < div class ="modal fade2 " id ="exampleModalFade " tabindex ="-1 " role ="dialog " aria-labelledby ="exampleModalFade " aria-hidden ="true ">
268
+ < div class ="modal-dialog " id ="exampleModalFadeDialog " role ="document ">
269
+ < div class ="modal-content ">
270
+ < div class ="modal-header ">
271
+ < h5 class ="modal-title " id ="exampleModalFadeTitle "> Fade Modal title</ h5 >
272
+ < button type ="button " class ="close " data-dismiss ="modal " aria-label ="Close ">
273
+ < span aria-hidden ="true "> ×</ span >
274
+ </ button >
275
+ </ div >
276
+ < div class ="modal-body ">
277
+ ...
278
+ </ div >
279
+ < div class ="modal-footer ">
280
+ < button id ="close_modal_fade " type ="button " class ="btn btn-secondary " data-dismiss ="modal "> Close</ button >
281
+ </ div >
282
+ </ div >
283
+ </ div >
284
+ </ div >
285
+
248
286
</ div >
249
287
250
288
< div class ="container ">
0 commit comments