Skip to content

Commit

Permalink
fixed background img position
Browse files Browse the repository at this point in the history
  • Loading branch information
Lotte90 committed Feb 6, 2024
1 parent e70186b commit 14eb4f6
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
10 changes: 10 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,16 @@
<script src="https://kit.fontawesome.com/6b27a169d8.js" crossorigin="anonymous"></script>
</head>
<body>
<div>
<header class="fixed-top">
<div class="promotion-banner">
<div class="container-fluid">
<strong>Per maggiori informazioni scrivi a <a
href="mailto:[email protected]">[email protected]</a></strong>
</div>
</div>
</header>
</div>
<div class="content content-sm">
<section class="homepage-header center">
<div class="container">
Expand Down
5 changes: 5 additions & 0 deletions src/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,11 @@ a {

.content {
background-image: url(image2.jpg);
position: absolute;
top: 0%;
bottom: 0%;
left: 0%;
right: 0%;
}

.homepage-header {
Expand Down

0 comments on commit 14eb4f6

Please sign in to comment.