Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

welcome section background image #152

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,12 @@ body {
*/
}

#welcome-section{
background-image: url('../images//home--background.jpeg');
background-position: center;
background-size: cover;
}

.intro {
top: 0; /*Set the top edge of the positioned element*/
/* If the value is 0 then why we're specifing?
Expand All @@ -40,7 +46,7 @@ nav ul {
position: fixed;/*position property sets positioned relative to the viewport,
which means it always stays in the same place even if the page is scrolled.*/
width: 100%; /*width property sets the width to 100% of the containing block*/
background-color: #4dabf5;
background-color: #22313F;
}

nav ul li {
Expand Down
Binary file added images/home--background.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.