-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathRandomPage.html
76 lines (73 loc) · 1.75 KB
/
RandomPage.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Yakuza Landing Page</title>
<style>
body {
margin: 0;
height: 100vh;
width: 100%;
background-color: #9b943d;
color: rgb(255, 255, 255);
font-family: "Arial", sans-serif;
display: flex;
justify-content: center;
align-items: center;
overflow: hidden;
}
.container {
position: relative;
text-align: center;
height: 100%;
width: 100%;
}
.background-image {
position: absolute;
top: 0;
left: 500px;
height: 100vh;
width: auto;
z-index: 1;
animation: 2s ease-out forwards;
}
/* @keyframes rotateX {
0% {
transform: rotateY(0deg);
}
100% {
transform: rotateY(180deg);
}
} */
.main-text {
position: absolute;
top: 25%;
left: 50%;
transform: translate(-50%, -50%);
z-index: 2;
font-size: 6rem;
letter-spacing: 25px;
font-weight: 400;
text-transform: uppercase;
text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
animation: slideDown 1.5s ease-out forwards;
}
@keyframes slideDown {
0% {
top: -100px;
}
100% {
top: 35%; /* Final position */
}
}
</style>
</head>
<body>
<div class="container">
<img src="./img.png" alt="Man with Sword" class="background-image" />
<div class="main-text">YAKUZA</div>
<!-- <div class="main-text">NAMU AMITAB ASU</div> -->
</div>
</body>
</html>