-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
178 lines (157 loc) · 4.52 KB
/
index.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
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
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Gaming Laptop - High Performance</title>
<style>
/* Basic Reset */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
/* Body Style */
body {
font-family: Arial, sans-serif;
color: #fff;
background-color: #000;
}
/* Header Style */
header {
display: flex;
justify-content: space-between;
align-items: center;
padding: 20px;
background-color: #1a1a1a;
}
header h1 {
color: #76ff03;
font-size: 24px;
}
header nav a {
color: #76ff03;
margin: 0 15px;
text-decoration: none;
}
/* Hero Section */
.hero {
display: flex;
align-items: center;
justify-content: center;
height: 80vh;
background-image: url('https://example.com/your-image.jpg'); /* Replace with actual image URL */
background-size: cover;
background-position: center;
text-align: center;
}
.hero h2 {
font-size: 3em;
font-weight: bold;
color: #76ff03;
text-shadow: 2px 2px 10px #000;
}
/* Laptop Features */
.features {
padding: 40px 20px;
background-color: #111;
}
.features h3 {
text-align: center;
color: #76ff03;
margin-bottom: 20px;
}
.feature-grid {
display: flex;
gap: 20px;
flex-wrap: wrap;
justify-content: space-around;
}
.feature {
background-color: #1a1a1a;
padding: 20px;
border-radius: 8px;
flex: 1 1 300px;
text-align: center;
}
.feature img {
width: 100%;
max-width: 150px;
margin-bottom: 15px;
}
/* Call-to-Action */
.cta {
padding: 20px;
text-align: center;
background-color: #76ff03;
color: #000;
font-size: 1.5em;
}
.cta button {
padding: 10px 20px;
background-color: #333;
color: #76ff03;
border: none;
font-size: 1em;
cursor: pointer;
margin-top: 10px;
transition: background-color 0.3s;
}
.cta button:hover {
background-color: #555;
}
/* Footer */
footer {
background-color: #1a1a1a;
text-align: center;
padding: 10px;
font-size: 0.9em;
}
</style>
</head>
<body>
<!-- Header -->
<header>
<h1>Gaming Laptop</h1>
<nav>
<a href="#features">Features</a>
<a href="#specs">Specifications</a>
<a href="#buy">Buy Now</a>
</nav>
</header>
<!-- Hero Section -->
<section class="hero">
<h2>Experience Unmatched Performance</h2>
</section>
<!-- Features Section -->
<section id="features" class="features">
<h3>Powerful Features</h3>
<div class="feature-grid">
<div class="feature">
<img src="https://example.com/image1.jpg" alt="High Resolution">
<h4>4K Display</h4>
<p>Enjoy a crystal-clear visual experience with a 4K resolution display.</p>
</div>
<div class="feature">
<img src="https://example.com/image2.jpg" alt="Performance Processor">
<h4>Powerful Processor</h4>
<p>Latest-gen processors to keep up with the most demanding tasks.</p>
</div>
<div class="feature">
<img src="https://example.com/image3.jpg" alt="High Quality Audio">
<h4>Immersive Audio</h4>
<p>Experience audio like never before with built-in high-quality speakers.</p>
</div>
</div>
</section>
<!-- Call to Action -->
<section id="buy" class="cta">
<p>Ready to take your gaming to the next level?</p>
<button>Buy Now</button>
</section>
<!-- Footer -->
<footer>
<p>© 2023 Gaming Laptop Co. All rights reserved.</p>
</footer>
</body>
</html>