Skip to content

Commit 483c169

Browse files
authored
Merge pull request #941 from Ankita280609/master
loading_ladder
2 parents 85ff3e7 + 3b36da8 commit 483c169

File tree

3 files changed

+157
-0
lines changed

3 files changed

+157
-0
lines changed

.DS_Store

-2 KB
Binary file not shown.

loading_ladder/index.html

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="UTF-8" />
5+
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
6+
<title>Endless Horror Climb</title>
7+
<link rel="stylesheet" href="style.css" />
8+
</head>
9+
<body>
10+
<div class="scene">
11+
<div class="ladder">
12+
<div class="rung"></div>
13+
<div class="rung"></div>
14+
<div class="rung"></div>
15+
<div class="rung"></div>
16+
<div class="rung"></div>
17+
<div class="rung"></div>
18+
<div class="rung"></div>
19+
<div class="rung"></div>
20+
<div class="rung"></div>
21+
<div class="rung"></div>
22+
</div>
23+
24+
<div class="stickman" style="animation-delay: 0s;"></div>
25+
<div class="stickman" style="animation-delay: 6s;"></div>
26+
<div class="stickman" style="animation-delay: 12s;"></div>
27+
28+
<div class="horror-text">Almost there... don’t blink.</div>
29+
</div>
30+
</body>
31+
</html>

loading_ladder/style.css

Lines changed: 126 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,126 @@
1+
* {
2+
margin: 0;
3+
padding: 0;
4+
box-sizing: border-box;
5+
}
6+
body {
7+
height: 100vh;
8+
display: flex;
9+
align-items: center;
10+
justify-content: center;
11+
background-color: #1a0000;
12+
overflow: hidden;
13+
font-family: 'Poppins', sans-serif;
14+
}
15+
.scene {
16+
position: relative;
17+
width: 300px;
18+
height: 420px;
19+
}
20+
.ladder {
21+
position: absolute;
22+
left: 50%;
23+
bottom: 60px;
24+
transform: translateX(-50%) rotate(2deg);
25+
display: flex;
26+
flex-direction: column;
27+
justify-content: space-between;
28+
height: 300px;
29+
width: 90px;
30+
border-left: 6px solid #4d1e00;
31+
border-right: 6px solid #4d1e00;
32+
}
33+
.rung {
34+
height: 12px;
35+
background: #b87333;
36+
border-radius: 5px;
37+
box-shadow: inset 0 -1px 2px rgba(0,0,0,0.3);
38+
}
39+
.stickman {
40+
position: absolute;
41+
bottom: 60px;
42+
left: 50%;
43+
transform: translateX(-50%);
44+
width: 2px;
45+
height: 70px;
46+
background: white;
47+
opacity: 0;
48+
animation: climb 6s ease-in-out infinite;
49+
}
50+
.stickman::before {
51+
content: "";
52+
position: absolute;
53+
top: -22px;
54+
left: 50%;
55+
width: 24px;
56+
height: 24px;
57+
border: 2px solid white;
58+
border-radius: 50%;
59+
transform: translateX(-50%);
60+
transition: all 0.3s ease;
61+
animation: headGlow 6s ease-in-out infinite;
62+
}
63+
.stickman::after {
64+
content: "";
65+
position: absolute;
66+
top: 20px;
67+
left: 50%;
68+
width: 60px;
69+
height: 2px;
70+
background: white;
71+
transform: translateX(-50%) rotate(25deg);
72+
box-shadow:
73+
0 25px white,
74+
0 45px white;
75+
animation: limbSwing 1s ease-in-out infinite alternate;
76+
}
77+
@keyframes climb {
78+
0% { bottom: 60px; opacity: 0; }
79+
10% { opacity: 1; }
80+
50% { bottom: 300px; opacity: 1; }
81+
80% { bottom: 330px; opacity: 1; }
82+
100% { bottom: 360px; opacity: 0; }
83+
}
84+
@keyframes headGlow {
85+
0%, 50% {
86+
border-color: white;
87+
box-shadow: none;
88+
}
89+
70% {
90+
border-color: #ff0000;
91+
box-shadow: 0 0 10px #ff0000, 0 0 20px #ff0000;
92+
}
93+
100% {
94+
border-color: #1a0000;
95+
box-shadow: none;
96+
}
97+
}
98+
@keyframes limbSwing {
99+
0% {
100+
transform: translateX(-50%) rotate(25deg);
101+
}
102+
100% {
103+
transform: translateX(-50%) rotate(-25deg);
104+
}
105+
}
106+
107+
.horror-text {
108+
position: absolute;
109+
bottom: 0;
110+
width: 100%;
111+
text-align: center;
112+
color: #ff2e00;
113+
font-size: 1.2rem;
114+
letter-spacing: 2px;
115+
animation: flicker 2s infinite;
116+
}
117+
@keyframes flicker {
118+
0%, 19%, 21%, 23%, 25%, 54%, 56%, 100% {
119+
opacity: 1;
120+
text-shadow: 0 0 10px #ff2e00, 0 0 20px #ff2e00;
121+
}
122+
20%, 24%, 55% {
123+
opacity: 0.3;
124+
text-shadow: none;
125+
}
126+
}

0 commit comments

Comments
 (0)