"modal animate"
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 ---------->
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css">
<div class="intro">
<h1>Motion Blur Experiment</h1>
<h2>by <a href="https://codepen.io/lbebber">Lucas Bebber</a></h2>
<p>Click on the button below</p>
</div>
<button class="open-modal">Open Modal</button>
<div class="modal-overlay"></div>
<div class="modal">
<button class="close-modal">×</button>
<div class="icon">
<i class="fa fa-user-plus"></i>
</div>
<h1>Some Title</h1>
<input class="input-text" type="text" placeholder="some field"/>
<input class="input-text" type="text" placeholder="some other field"/>
<input class="input-submit" type="submit" value="Some Button"/>
</div>
<svg xmlns="http://www.w3.org/2000/svg" version="1.1" class="filters">
<defs>
<filter id="blur">
<feGaussianBlur id="blur-filter" in="SourceGraphic" stdDeviation="0,0" />
</filter>
</defs>
</svg>
<script>
$(document).ready(function(){
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=Roboto:400,700,300");
.input-submit,
.open-modal {
background: #c41;
border: none;
color: #eeeaea;
font-family: "Roboto", sans-serif;
font-weight: 700;
outline: none;
}
* {
box-sizing: border-box;
}
a {
color: inherit;
}
body {
background: #eeeaea;
color: #334;
font-family: roboto;
overflow: hidden;
}
body::before {
content: "";
display: none;
position: absolute;
top: 0;
left: 0;
bottom: 0;
right: 0;
background: rgba(10,0,0,0.1);
}
h1,
h2,
h3 {
font-weight: 300;
margin: 0;
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
1
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Related: See More


Questions / Comments: