-
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathtest.html
72 lines (67 loc) · 1.85 KB
/
test.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
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Simple HTML File</title>
<style>
.bg,
.button {
position: absolute;
width: 150px;
height: 50px;
}
.butt_container {
display: flex;
width: 100%;
height: 100vh;
justify-content: center;
align-items: center;
}
.bg {
animation: pulse 1.4s ease infinite;
background: #548ab7;
}
.button {
display: flex;
justify-content: center;
align-items: center;
position: absolute;
z-index: 99;
border: none;
background: #548ab7;
background-size: 18px;
cursor: pointer;
outline: none;
}
.button a {
position: absolute;
color: #fff;
font-size: 22px;
text-decoration: none;
}
@keyframes pulse {
0% {
transform: scale(1, 1);
}
50% {
opacity: 0.3;
}
100% {
transform: scale(1.5);
opacity: 0;
}
}
</style>
</head>
<body>
<div class="container">
<div class="bg"></div>
<div class="button">
<a href="https://codepen.io/sashatran/" target="_blank"
>Hire me</a
>
</div>
</div>
</body>
</html>