-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathalert.html
More file actions
137 lines (120 loc) · 3.4 KB
/
Copy pathalert.html
File metadata and controls
137 lines (120 loc) · 3.4 KB
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
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href="https://fonts.googleapis.com/css2?family=Bebas+Neue&display=swap" rel="stylesheet">
<style>
body {
margin: 0;
padding: 20px;
background: #2a2a2a;
display: flex;
justify-content: center;
align-items: center;
min-height: 100vh;
}
.alertBox {
width: 320px;
height: 60px;
position: relative;
overflow: hidden;
transition: width .15s ease-in-out;
}
.alertBox:before {
display: block;
content: "";
width: 100%;
height: 100%;
animation: bgpulse 1s linear infinite;
position: Absolute;
left: 0;
top: 0;
background: linear-gradient(135deg, #4a4a00 0%, #3a3a00 100%);
}
.scrollText {
position: absolute;
white-space: nowrap;
font-family: 'Bebas Neue', Arial, sans-serif;
font-size: 38px;
line-height: 34px;
font-weight: 400;
color: #ffff00;
text-transform: uppercase;
letter-spacing: 2px;
animation: scroll 25s linear infinite;
transform: translateX(1%);
padding: 16px 0;
left: 0;
display: block;
}
@keyframes scroll {
0% {
transform: translateX(1%);
}
100% {
transform: translateX(-100%);
}
}
@keyframes bgpulse {
0% {
opacity: 1.0;
}
50% {
opacity: 0.1;
}
100% {
opacity: 1.0;
}
}
.cornerTL {
position: absolute;
top: 0;
left: 0;
width: 10px;
height: 10px;
border-top: 2px solid #FDFD12;
border-left: 2px solid #FDFD12;
}
.cornerTR {
position: absolute;
top: 0;
right: 0;
width: 10px;
height: 10px;
border-top: 2px solid #FDFD12;
border-right: 2px solid #FDFD12;
}
.cornerBL {
position: absolute;
bottom: 0;
left: 0;
width: 10px;
height: 10px;
border-bottom: 2px solid #FDFD12;
border-left: 2px solid #FDFD12;
}
.cornerBR {
position: absolute;
bottom: 0;
right: 0;
width: 10px;
height: 10px;
border-bottom: 2px solid #FDFD12;
border-right: 2px solid #FDFD12;
}
.alertBox span {
opacity: 0.85;
}
</style>
</head>
<body>
<div class="alertBox">
<span class="cornerTL"></span>
<span class="cornerTR"></span>
<span class="cornerBL"></span>
<span class="cornerBR"></span>
<div class="scrollText">SEARCHING FLIGHTS TO AMSTERDAM // SEARCHING FLIGHTS TO AMSTERDAM // SEARCHING FLIGHTS TO AMSTERDAM // SEARCHING FLIGHTS TO AMSTERDAM // SEARCHING FLIGHTS TO AMSTERDAM // SEARCHING FLIGHTS TO AMSTERDAM</div>
</div>
</body>
</html>