-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex0.html
More file actions
106 lines (91 loc) · 3.29 KB
/
Copy pathindex0.html
File metadata and controls
106 lines (91 loc) · 3.29 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>First Class Apartments</title>
<style>
* { box-sizing: border-box; margin: 0; padding: 0; }
body, h1, h2, h3, p { margin: 0; padding: 0; }
body { font-family: 'Arial', sans-serif; color: #333; background: #f4f4f4; }
.container { width: 80%; max-width: 1200px; margin: auto; padding: 0; }
.navbar {
display: flex;
justify-content: space-between;
align-items: center;
padding: 7px 0;
background:green; /* This sets the background color of the navbar to black */
}
.navbar ul { list-style-type: none; display: flex; gap: 25px; }
.navbar a {
text-decoration: none;
color: #fff; /* This sets the text color of the links to white for better contrast */
font-weight: bold;
}
.navbar a:hover { color: yellow; }
.header-section { text-align: center; padding: 20px 0; background: #fff; }
.header-section h1 { color: #333; font-size: 2.5em; margin-bottom: 10px; }
.featured-container { display: flex; justify-content: space-between; padding: 20px 0; }
.featured { flex-basis: calc(33.333% - 20px); margin-right: 10px; text-align: center; }
.featured:last-child { margin-right: 0; }
.featured img { max-width: 100%; height: auto; display: block; }
.featured h3 { margin-top: 10px; }
.featured p { margin-top: 5px; }
.why-choose-us { padding: 20px; margin-top: 20px; box-shadow: 0 4px 8px rgba(0,0,0,0.1); }
.why-choose-us h2 { margin-bottom: 20px; }
@media (max-width: 1024px) {
.featured-container { flex-direction: column; }
.featured { margin-right: 0; margin-bottom: 20px; }
.featured:last-child { margin-bottom: 0; }
}
@media (max-width: 768px) {
.navbar ul { flex-direction: column; display: none; }
.navbar a { display: block; padding: 10px; }
.nav-toggle { display: block; }
.nav-toggle-label { display: block; }
.header-section h1 { font-size: 2em; }
}
</style>
</head>
<body>
<header class="navbar container">
<nav>
<ul>
<li><a href="index.html">Home</a></li>
<li><a href="About-us.html">About Us</a></li>
<li><a href="Apartments.html">Apartments</a></li>
<li><a href="Application.html">Applications</a></li>
</ul>
</nav>
</header>
<div class="header-section container">
<h1>First Class Apartments</h1>
</div>
<div class="container">
<div class="featured-container">
<!-- Placeholder for the first image -->
<div class="featured">
<img src="Outside3.jpg" alt="Interior">
<h3>Apartments</h3>
<p>Quality living spaces for quality lives.</p>
</div>
<!-- Placeholder for the second image -->
<div class="featured">
<img src="Outside2.png" alt="Geneva Street">
<h3>About Co-living</h3>
<p>Friendly Neighborhood.</p>
</div>
<!-- Placeholder for the third image -->
<div class="featured">
<img src="Outside1.png" alt="CA Apartments">
<h3>About CA Apartments</h3>
<p>Modern amenities, central locations.</p>
</div>
</div>
<div class="why-choose-us">
<h2>Why Choose Us</h2>
<p>Unrivaled amenities, unmatched quality, and a community you can call home. Find out why our residents love us.</p>
</div>
</div>
</body>
</html>