-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdemo.html
67 lines (57 loc) · 1.66 KB
/
demo.html
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
<!DOCTYPE html>
<html>
<head>
<title>Fluid form demo page</title>
<meta charset="utf-8">
<link href="fluid-form.css" rel="stylesheet">
<style type="text/css">
#demo-fluid-form-wrapper {
text-align: center;
padding-bottom: 20vh;
}
#demo-fluid-form-wrapper > div {
margin: 10vh 0;
padding: 10vh 0;
opacity: 0.5;
transition: opacity 0.2s ease-in 0s;
}
#demo-fluid-form-wrapper > div.active {
opacity: 1;
}
</style>
</head>
<body>
<section id="demo-fluid-form-wrapper" class="fluid-form-wrapper">
<div class="fluid-form-question">
<h1>Question 1</h1>
<p>Enter something random!</p>
<input type="text"/>
<input type="button" class="fluid-form-next-button" value="Next"/>
</div>
<div class="fluid-form-question">
<h1>Question 2</h1>
<p>Enter something random!</p>
<input type="text"/>
<input type="button" class="fluid-form-next-button" value="Next"/>
</div>
<div class="fluid-form-question">
<h1>Question 3</h1>
<p>Enter something random!</p>
<input type="text"/>
<input type="button" class="fluid-form-next-button" value="Next"/>
</div>
<div class="fluid-form-question">
<h1>You made it!</h1>
<p>Just hit the button below...</p>
<input type="button" class="fluid-form-submit-button" value="Submit"/>
</div>
</section>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script>
<script type="text/javascript" src="fluid-form.js"></script>
<script type="text/javascript">
(function() {
var demoFluidForm = new FluidForm($('#demo-fluid-form-wrapper'));
})();
</script>
</body>
</head>