generated from NEYROSICK/goit-node-hw-02-rest-api
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathindex.html
77 lines (72 loc) · 1.74 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Welcome to API</title>
<style>
body {
display: flex;
justify-content: center;
align-items: center;
background-color: #fdd3ad;
height: 100vh;
width: 100%;
margin: 0;
padding: 0;
}
.animate-character {
opacity: 0;
visibility: hidden;
text-transform: uppercase;
background-image: linear-gradient(
-225deg,
#231557 0%,
#44107a 29%,
#ff1361 67%,
#fff800 100%
);
background-size: auto auto;
background-clip: border-box;
background-size: 200% auto;
color: #fff;
background-clip: text;
text-fill-color: transparent;
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
animation: transition 10s forwards, textclip 3s linear infinite;
display: inline-block;
font-size: 120px;
font-family: "circular";
margin: 0;
margin-left: 44px;
}
@keyframes textclip {
to {
background-position: 200% center;
}
}
@keyframes transition {
to {
opacity: 100%;
visibility: visible;
}
}
@media (max-width: 768px) {
.animate-character {
font-size: 80px;
}
}
@media (max-width: 480px) {
.animate-character {
font-size: 40px;
}
}
</style>
</head>
<body>
<h1 class="animate-character">
Welcome to API! Please head to the /api-docs route
</h1>
</body>
</html>