-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathgadgets.html
More file actions
128 lines (115 loc) · 2.91 KB
/
gadgets.html
File metadata and controls
128 lines (115 loc) · 2.91 KB
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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Doraemon Gadgets</title>
<link rel="stylesheet" href="style.css">
<header>
<h1 id="title"> doreamonfacts </h1>
<nav>
<ul>
<li><a href="index.html">Home</a></li>
<li><a href="doreamonregister.html">Register</a></li>
<li><a href="doreamonmedia.html">Doreamon Media</a></li>
<li><a href="doreamonmarking.html">Doreamon Form</a></li>
<li><a href="gadgets.html">Doreamon Gadget</a></li>
<li><a href="character.html">Doreamon Character</a></li>
</ul>
</nav>
</header>
</head>
<body>
<style>/* BODY BACKGROUND */
body {
margin: 0;
font-family: Arial, sans-serif;
color: #fff;
/* Background image + properties */
background-image: url("images/imli.jpg");
background-repeat: no-repeat;
background-position: center;
background-attachment: fixed;
background-size: cover;
}
/* HEADER WITH GRADIENT */
header {
padding: 20px;
text-align: center;
background: linear-gradient(90deg, #00c6ff, #0072ff);
animation: slideDown 2s ease;
}
@keyframes slideDown {
from {
transform: translateY(-100px);
opacity: 0;
}
to {
transform: translateY(0);
opacity: 1;
}
}
/* MAIN CONTAINER */
.container {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 20px;
padding: 40px;
}
/* GADGET CARD */
.card {
background-color: rgba(0, 0, 0, 0.6);
padding: 20px;
border-radius: 12px;
text-align: center;
/* Background gradient inside card */
background-image: linear-gradient(135deg, #1e3c72, #2a5298);
/* Animation */
animation: fadeIn 2s ease-in;
}
@keyframes fadeIn {
from {
opacity: 0;
transform: scale(0.9);
}
to {
opacity: 1;
transform: scale(1);
}
}
.card img {
width: 150px;
height: 150px;
}
/* FOOTER */
footer {
text-align: center;
padding: 15px;
background-color: rgba(0, 0, 0, 0.7);
}
</style>
<header>
<h1> Doraemon Gadgets</h1>
<p>Magical tools from the future</p>
</header>
<section class="container">
<div class="card">
<h2>Anywhere Door</h2>
<img src="images/the-anywhere-door.png">
<p>Go anywhere instantly with this door.</p>
</div>
<div class="card">
<h2>Bamboo Copter</h2>
<img src="images/takecopter.jpg">
<p>Fly freely in the sky using this gadget.</p>
</div>
<div class="card">
<h2>Time Machine</h2>
<img src="images/known-for-time-machine.jpg">
<p>Travel to past and future adventures.</p>
</div>
</section>
<footer>
© Naitik Web Development. All rights reserved.
</footer>
</body>
</html>