"Full Width Modal Popup"
Bootstrap 3.2.0 Snippet by IK-7

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
<link href="//netdna.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css">
<script src="//netdna.bootstrapcdn.com/bootstrap/3.2.0/js/bootstrap.min.js"></script>
<script src="//code.jquery.com/jquery-1.11.1.min.js"></script>
<!------ Include the above in your HEAD tag ---------->
<div class="container-fluid">
<div class="row">
<div class="col-xs-6 col-md-6 big-box" id="first-child">
<h2 data-toggle="modal" data-target="#modal1">HI Welcome To Full Width</h2>
<!-- Modal -->
<div class="modal fade" id="modal1" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
<div class="modal-dialog">
<div class="modal-content modal-content-one">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">×</span><span class="sr-only">Close</span></button>
<h4 class="modal-title" id="myModalLabel">Introduction Popup</h4>
</div>
<div class="modal-body">
MODAL POPUP CONTENT .....
</div>
</div>
</div>
</div>
</div>
<div class="col-xs-6 col-md-6 big-box" id="second-child">
<h2 data-toggle="modal" data-target="#modal2">MODAL POPUP</h2>
<!-- Modal -->
<div class="modal fade" id="modal2" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
<div class="modal-dialog">
<div class="modal-content modal-content-two">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">×</span><span class="sr-only">Close</span></button>
<h4 class="modal-title" id="myModalLabel">MODAL POPUP CONTENT .....</h4>
</div>
<div class="modal-body">
MODAL POPUP CONTENT ...
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
.modal-dialog {
width: 100%;
height: 100%;
padding: 0;
margin:0;
}
.modal-content {
height: 100%;
border-radius: 0;
color:white;
overflow:auto;
}
.close
{
color:white ! important;
opacity:1.0;
}
#first-child
{
top:0;
left:0;
background-color: yellowgreen;
}
#second-child
{
top:0;
left:50%;
background-color: #E6537D;
color:black;
}
#third-child
{
top:50%;
left:0;
background-color: crimson;
}
#fourth-child
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
1
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Related: See More


Questions / Comments: