We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b19e978 commit 14a5911Copy full SHA for 14a5911
assets/css/style.css
@@ -84,12 +84,18 @@ nav {
84
85
/* Main content */
86
main {
87
- background-color: lightblue;
88
/*Make main element take up any surplus space to push footer down*/
89
flex: 1 0 auto;
90
margin-top: 47px;
91
}
92
+/* Hero section*/
93
+#hero {
94
+ height: 600px;
95
+ width: 100%;
96
+ background: url("../images/hero-image.webp") no-repeat center center/cover;
97
+}
98
+
99
/* Footer */
100
#social-networks {
101
text-align: center;
assets/images/hero-image.webp
81.1 KB
index.html
@@ -36,7 +36,9 @@ <h1 id="logo">Love Running</h1>
36
</header>
37
38
<!-- Main content -->
39
- <main>Main content</main>
+ <main>
40
+ <section id="hero"></section>
41
+ </main>
42
43
<!-- Footer -->
44
<footer>
0 commit comments