-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex2.html
75 lines (70 loc) · 1.39 KB
/
index2.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
68
69
70
71
72
73
74
75
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8" >
<title></title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<style>
* {
padding: 0;
margin: 0;
}
body {
margin: 1rem;
padding: 1rem;
font-family: sans-serif;
max-width: 28rem;
margin: 0 auto;
position: relative;
}
#controls {
display: flex;
margin-top: 2rem;
}
button {
flex-grow: 1;
height: 2.5rem;
min-width: 2rem;
border: none;
border-radius: 0.15rem;
background: #ed341d;
margin-left: 2px;
box-shadow: inset 0 -0.15rem 0 rgba(0, 0, 0, 0.2);
cursor: pointer;
display: flex;
justify-content: center;
align-items: center;
color:#ffffff;
font-weight: bold;
font-size: 1rem;
}
button:hover, button:focus {
outline: none;
background: #c72d1c;
}
button::-moz-focus-inner {
border: 0;
}
button:active {
box-shadow: inset 0 1px 0 rgba(0, 0, 0, 0.2);
line-height: 3rem;
}
button:disabled {
pointer-events: none;
background: lightgray;
}
button:first-child {
margin-left: 0;
}
</style>
</head>
<body>
<h1></h1>
<div id="controls">
<button id="redButton" disabled>Redirect to Website</button>
</div>
<!-- inserting these scripts at the end to be able to use all the elements in the DOM -->
<script src="https://cdn.rawgit.com/mattdiamond/Recorderjs/08e7abd9/dist/recorder.js"></script>
<script src="js/app.js"></script>
</body>
</html>