Skip to content

Commit

Permalink
Update index.html
Browse files Browse the repository at this point in the history
  • Loading branch information
magoimaxwel authored Nov 21, 2024
1 parent 1f04fb7 commit f4f5a80
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,6 @@
max-width: 100%;
margin: 0 auto;
width: 100%;
min-height: 100vh; /* Full viewport height */
background-color: var(--background-color);
}

header {
Expand Down Expand Up @@ -86,11 +84,10 @@
align-items: flex-start;
text-align: left;
position: relative;
background-image: url('background-image.jpg');
background-size: cover;
background-image: url('https://images.unsplash.com/photo-1551434678-e076c223a692');
background-size: 100% 100%; /* Full width and height */
background-position: center;
color: #fff;
padding: 2rem;
width: 100%;
overflow: hidden;
}
Expand All @@ -110,6 +107,7 @@
position: relative;
z-index: 2;
max-width: 800px;
margin-left: 2rem; /* Ensures content is positioned similarly to original design */
}

.hero h1 {
Expand All @@ -131,6 +129,7 @@
color: #fff;
}


.section {
background-color: var(--background-color);
padding: 2rem;
Expand Down

0 comments on commit f4f5a80

Please sign in to comment.