Skip to content

Commit 92a95ba

Browse files
committed
added background color to header
1 parent bce430a commit 92a95ba

File tree

1 file changed

+33
-19
lines changed

1 file changed

+33
-19
lines changed

src/scss/_common.scss

Lines changed: 33 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,38 @@
1-
.menu-icon {
2-
position: relative;
3-
display: inline-block;
4-
width: 7vw;
5-
text-indent: -999px;
6-
float: right;
1+
header {
2+
background-color: teal;
73

8-
}
4+
h1 {
5+
text-align: center;
6+
color: #fff;
7+
}
98

10-
.border {
11-
height: 30px;
12-
border-top: 10px solid blue;
13-
border-bottom: 10px solid blue;
14-
}
159

16-
.border::before {
17-
content: "";
18-
position: absolute;
19-
top: 10px;
20-
left: 0;
21-
width: 100%;
22-
border-top: 10px solid blue;
10+
11+
.menu-icon {
12+
position: relative;
13+
display: inline-block;
14+
width: 7vw;
15+
text-indent: -999px;
16+
float: right;
17+
18+
}
19+
20+
.border {
21+
height: 30px;
22+
border-top: 10px solid blue;
23+
border-bottom: 10px solid blue;
24+
border-radius: 5%;
25+
}
26+
27+
.border::before {
28+
content: "";
29+
position: absolute;
30+
top: 10px;
31+
left: 0;
32+
width: 100%;
33+
border-top: 10px solid blue;
34+
border-radius: 5%;
35+
36+
}
2337

2438
}

0 commit comments

Comments
 (0)