Skip to content

Commit de15770

Browse files
authored
Create index.html
1 parent 0517f3b commit de15770

1 file changed

Lines changed: 96 additions & 0 deletions

File tree

index.html

Lines changed: 96 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,96 @@
1+
<!DOCTYPE html>
2+
<html lang="id">
3+
<head>
4+
<meta charset="UTF-8">
5+
<meta name="viewport" content="width=device-width, initial-scale=1">
6+
<title>AXIOO Hype 5</title>
7+
<style>
8+
body {
9+
margin: 0;
10+
background-color: #0f0f0f;
11+
color: #f0f0f0;
12+
font-family: 'Courier New', Courier, monospace;
13+
display: flex;
14+
flex-direction: column;
15+
align-items: center;
16+
justify-content: center;
17+
height: 100vh;
18+
}
19+
20+
.typing-text {
21+
font-size: 1.8rem;
22+
border-right: 2px solid #f0f0f0;
23+
white-space: nowrap;
24+
overflow: hidden;
25+
width: 0;
26+
animation: typing 4s steps(40, end) forwards, blink 0.75s step-end infinite;
27+
}
28+
29+
@keyframes typing {
30+
from { width: 0 }
31+
to { width: 100% }
32+
}
33+
34+
@keyframes blink {
35+
from, to { border-color: transparent }
36+
50% { border-color: #f0f0f0 }
37+
}
38+
39+
.drawing-area {
40+
margin-top: 40px;
41+
width: 300px;
42+
height: 200px;
43+
position: relative;
44+
}
45+
46+
svg {
47+
width: 100%;
48+
height: 100%;
49+
}
50+
51+
path.laptop-line {
52+
stroke: #00ffcc;
53+
stroke-width: 2;
54+
fill: none;
55+
stroke-dasharray: 600;
56+
stroke-dashoffset: 600;
57+
animation: draw 5s ease-out forwards;
58+
}
59+
60+
@keyframes draw {
61+
to {
62+
stroke-dashoffset: 0;
63+
}
64+
}
65+
66+
.pen {
67+
width: 24px;
68+
height: 24px;
69+
background-color: #ffffff;
70+
border-radius: 50%;
71+
position: absolute;
72+
top: 160px;
73+
left: 10px;
74+
animation: pen-move 5s ease-out forwards;
75+
}
76+
77+
@keyframes pen-move {
78+
0% { transform: translate(0, 0); }
79+
25% { transform: translate(80px, -40px); }
80+
50% { transform: translate(180px, 0); }
81+
75% { transform: translate(240px, -30px); }
82+
100% { transform: translate(270px, 0); }
83+
}
84+
</style>
85+
</head>
86+
<body>
87+
<div class="typing-text">AXIOO Hype 5 – Tipis, cepat, dan andal untuk produktivitas Anda.</div>
88+
89+
<div class="drawing-area">
90+
<svg viewBox="0 0 300 200">
91+
<path class="laptop-line" d="M50 100 L250 100 L230 150 L70 150 Z M70 150 L100 130 L200 130 L230 150" />
92+
</svg>
93+
<div class="pen"></div>
94+
</div>
95+
</body>
96+
</html>

0 commit comments

Comments
 (0)