"mobile"
Bootstrap 3.0.0 Snippet by evarevirus

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.0.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css">
<script src="//netdna.bootstrapcdn.com/bootstrap/3.0.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="body model-1">
<div class="menu"><a class="close">x</a>
<ul class="nav">
<li><a href="#">link1</a></li>
<li><a href="#">link2</a></li>
<li><a href="#">link3</a></li>
<li><a href="#">link4</a></li>
<li><a href="#">link5</a></li>
</ul>
</div>
<div class="container">
<div class="header"><a class="toggle"></a></div>
<div class="card">Model-1
</div>
</div>
</div>
<div class="body model-2">
<div class="menu"><a class="close">x</a>
<ul class="nav">
<li><a href="#">link1</a></li>
<li><a href="#">link2</a></li>
<li><a href="#">link3</a></li>
<li><a href="#">link4</a></li>
<li><a href="#">link5</a></li>
</ul>
</div>
<div class="container">
<div class="header"><a class="toggle"></a></div>
<div class="card">Model-2
</div>
</div>
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
@import url(https://fonts.googleapis.com/css?family=Open+Sans);
*, *:after, *:before {
box-sizing: border-box;
}
body {
background: #333;
color: #555;
font-family: 'Open Sans', sans-serif;
text-align: center;
}
.body {
background: #444;
position: relative;
overflow: hidden;
width: 45%;
display: inline-block;
min-width: 400px;
margin: 2%;
box-shadow: 0 3px 5px rgba(0, 0, 0, 0.2);
}
.body .menu {
position: absolute;
left: 0;
top: 0;
background: #fff;
width: 180px;
height: 100%;
text-align: left;
padding-top: 30px;
-webkit-transition: .3s ease-in;
transition: .3s ease-in;
-webkit-transform: translateX(-100%);
transform: translateX(-100%);
z-index: 500;
}
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
1
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Related: See More


Questions / Comments: