Skip to content

Commit 865da94

Browse files
committed
Add hero class
1 parent e500461 commit 865da94

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

02-css/style.css

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,16 @@ main {
3939
/* `main` element does not need any styles */
4040
}
4141

42+
.hero {
43+
height: 320px;
44+
background-image: url("./images/cover-bg.png");
45+
background-size: cover;
46+
background-position: center;
47+
text-align: center;
48+
padding: 48px;
49+
color: white;
50+
}
51+
4252
footer {
4353
background-color: #1212B2;
4454
padding: 32px;

0 commit comments

Comments
 (0)