Skip to content

Commit

Permalink
added image
Browse files Browse the repository at this point in the history
  • Loading branch information
bax082024 committed Oct 9, 2024
1 parent 530a8a4 commit c3fc26d
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
Binary file removed images/bryggen.jpg
Binary file not shown.
9 changes: 9 additions & 0 deletions wwwroot/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -75,3 +75,12 @@ p {
#weatherInfo {
color: rgb(90, 90, 234);
}

main {
background-image: url('images/bryggen.jpg'); /* Make sure the image path is correct */
background-size: cover; /* Ensures the image covers the entire area */
background-position: center; /* Centers the background image */
background-repeat: no-repeat; /* Prevents the image from repeating */
min-height: 600px; /* Adjust the height to ensure the background is visible */
padding: 20px; /* Adds some padding for content inside */
}

0 comments on commit c3fc26d

Please sign in to comment.