forked from paulphilip/pythoncode
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
182 lines (158 loc) · 3.9 KB
/
index.html
File metadata and controls
182 lines (158 loc) · 3.9 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
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
179
180
181
182
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Beautiful Landing Page</title>
<style>
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
body {
background: linear-gradient(135deg, #0f172a, #1e293b);
color: #fff;
line-height: 1.6;
}
header {
display: flex;
justify-content: space-between;
align-items: center;
padding: 20px 60px;
background: rgba(255,255,255,0.05);
backdrop-filter: blur(10px);
position: sticky;
top: 0;
}
.logo {
font-size: 24px;
font-weight: bold;
letter-spacing: 1px;
background: linear-gradient(90deg, #38bdf8, #a78bfa);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}
nav a {
margin-left: 30px;
text-decoration: none;
color: #e2e8f0;
transition: 0.3s ease;
font-weight: 500;
}
nav a:hover {
color: #38bdf8;
}
.hero {
min-height: 90vh;
display: flex;
align-items: center;
justify-content: center;
text-align: center;
padding: 40px 20px;
flex-direction: column;
}
.hero h1 {
font-size: 56px;
max-width: 800px;
background: linear-gradient(90deg, #38bdf8, #a78bfa);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
margin-bottom: 20px;
}
.hero p {
font-size: 20px;
color: #cbd5f5;
max-width: 600px;
margin-bottom: 40px;
}
.btn {
padding: 14px 32px;
border-radius: 999px;
border: none;
font-size: 16px;
font-weight: 600;
cursor: pointer;
background: linear-gradient(90deg, #38bdf8, #a78bfa);
color: white;
transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.btn:hover {
transform: translateY(-3px);
box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}
.features {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
gap: 30px;
padding: 80px 60px;
max-width: 1200px;
margin: auto;
}
.card {
background: rgba(255,255,255,0.05);
padding: 30px;
border-radius: 20px;
backdrop-filter: blur(12px);
transition: 0.3s ease;
}
.card:hover {
transform: translateY(-10px);
background: rgba(255,255,255,0.08);
}
.card h3 {
margin-bottom: 15px;
color: #38bdf8;
}
footer {
text-align: center;
padding: 30px;
background: rgba(255,255,255,0.05);
margin-top: 40px;
color: #cbd5f5;
}
@media (max-width: 768px) {
header {
padding: 20px;
}
.hero h1 {
font-size: 36px;
}
}
</style>
</head>
<body>
<header>
<div class="logo">MySite</div>
<nav>
<a href="#">Home</a>
<a href="#">Features</a>
<a href="#">About</a>
<a href="#">Contact</a>
</nav>
</header>
<section class="hero">
<h1>Build Something Beautiful Today</h1>
<p>Create stunning websites with modern design, smooth animations, and responsive layouts.</p>
<button class="btn">Get Started</button>
</section>
<section class="features">
<div class="card">
<h3>⚡ Fast Performance</h3>
<p>Optimized structure ensures smooth and blazing fast user experience across devices.</p>
</div>
<div class="card">
<h3>🎨 Modern Design</h3>
<p>Clean UI with gradients, glass effects, and beautiful visual hierarchy.</p>
</div>
<div class="card">
<h3>📱 Fully Responsive</h3>
<p>Looks perfect on desktops, tablets, and mobile devices automatically.</p>
</div>
</section>
<footer>
© 2026 MySite. All rights reserved.
</footer>
</body>
</html>