Skip to content

Commit 1f75a66

Browse files
mengubah
1 parent b5a988f commit 1f75a66

File tree

3 files changed

+39
-4
lines changed

3 files changed

+39
-4
lines changed

404.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
<img src="Gif PakAmba.gif" alt="404 Animation">
1515
</div>
1616
<h1>Sepertinya Anda tersesat. Halaman yang Anda cari tidak tersedia.</h1>
17-
<h3>Yang putih hitamkan, yang hitam biarkan, tapi yang nganu sudah pasti hitam.</h3>
17+
<h3>Yang putih hitamkan, yang hitam biarkan, tapi yang lihat sudah pasti hitam.</h3>
1818
<a href="index.html" class="button">Kembali ke Beranda</a>
1919
<audio autoplay loop>
2020
<source src="ambasong.mp3" type="audio/mpeg">

404.styles.css

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,47 @@ body {
1212
font-family: 'Arial', sans-serif;
1313
background-color: #0e0d0d;
1414
overflow: hidden;
15+
animation: fadeIn 1s ease-in-out;
1516
}
1617

1718
.container {
1819
text-align: center;
1920
padding: 20px;
21+
animation: slideDown 1s ease forwards;
22+
}
23+
24+
@keyframes fadeIn {
25+
from {
26+
opacity: 0;
27+
}
28+
to {
29+
opacity: 1;
30+
}
31+
}
32+
33+
@keyframes slideDown {
34+
from {
35+
transform: translateY(-30px);
36+
opacity: 0;
37+
}
38+
to {
39+
transform: translateY(0);
40+
opacity: 1;
41+
}
2042
}
2143

2244
.gif-container {
2345
margin-bottom: 30px;
46+
animation: float 4s ease-in-out infinite;
47+
}
48+
49+
@keyframes float {
50+
0%, 100% {
51+
transform: translateY(0);
52+
}
53+
50% {
54+
transform: translateY(-15px);
55+
}
2456
}
2557

2658
.gif-container img {
@@ -34,12 +66,14 @@ h1 {
3466
font-size: 2.5rem;
3567
color: #ff6b6b;
3668
margin-bottom: 20px;
69+
animation: fadeIn 2s ease-in-out;
3770
}
3871

3972
h3 {
4073
font-size: 1.2rem;
4174
color: #ffffff;
4275
margin-bottom: 30px;
76+
animation: fadeIn 2.5s ease-in-out;
4377
}
4478

4579
.button {
@@ -50,6 +84,7 @@ h3 {
5084
text-decoration: none;
5185
border-radius: 5px;
5286
transition: background-color 0.3s ease;
87+
animation: fadeIn 3s ease-in-out;
5388
}
5489

5590
.button:hover {

styles.css

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -160,15 +160,15 @@ header h1 {
160160
overflow: hidden;
161161
border-right: 3px solid rgba(255, 255, 255, 0.75);
162162
white-space: nowrap;
163-
animation: typing 10s steps(infinite, end) infinite, blinkCursor 0.75s step-end infinite;
163+
animation: typing 10s steps(30, end) infinite, blinkCursor 0.75s step-end infinite;
164164
}
165165
.movie img {
166166
transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
167167
}
168168

169169
.movie img:hover {
170-
transform: scale(1.05); /* Perbesar gambar */
171-
box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3); /* Tambahkan bayangan */
170+
transform: scale(1.05);
171+
box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
172172
}
173173

174174

0 commit comments

Comments
 (0)