-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
101 lines (84 loc) · 1.57 KB
/
index.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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
<!doctype html>
<html lang="en">
<head>
<style>
body {
background-color: white;
font-family: monospace;
font-size: 20px;
margin: 0;
padding: 0;
text-align: center;
overflow-x: hidden;
}
h1 {
color: white;
text-align: center;
font-size: 10vh;
margin: 0;
padding: 0;
background-color: red;
animation: slide-down 0.75s;
}
@keyframes slide-down {
from {transform: translate(0, -15vh);}
to {transform: translate(0);}
}
h2 {
font-size: 5vh;
}
.images {
padding-top: 5vh;
height: 60vh;
}
#fire{
margin-bottom: 5vh;
animation-delay: 2s;
animation: fire-pulse 2s infinite 0.75s;
}
@keyframes fire-pulse {
0% {
transform: scale(1.0);
}
50% {
transform: scale(0.8);
}
100% {
transform: scale(1.0);
}
}
img {
height: 100%;
}
.slide{
animation: slide-up 0.75s;
}
@keyframes slide-up {
from {transform: translate(0, 40vh);}
to {transform: translate(0);}
}
.flash {
animation: flash 1s infinite;
}
@keyframes flash{
0%{color: black;}
50%{color: red;}
10%{color: black;}
}
</style>
</head>
<body>
<h1>
ALARM DETECTED
</h1>
<div class="slide">
<div class="images">
<img id='fire' src="https://wxsd-sales.github.io/alarm-alert-macro/images/fire.png">
<img src="https://wxsd-sales.github.io/alarm-alert-macro/images/evacuation.png">
</div>
<h2 class="flash">
EVACUATE THE BUILDING
</h2>
</div>
</body>
</html>