Skip to content

Commit c9978f3

Browse files
authored
Merge pull request #17 from favour-chibueze/master
updated header componet style for mobile view
2 parents 5253c87 + 0a4a852 commit c9978f3

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

src/components/Header/Header.css

+8-3
Original file line numberDiff line numberDiff line change
@@ -117,12 +117,16 @@
117117

118118
@media (max-width: 875px) {
119119
/*Mobile View */
120-
120+
.headerWrap {
121+
background-color: rgba(240, 257, 233, 0.49);
122+
}
123+
121124
.navOptions {
122125
display: flex;
123126
flex-direction: column;
127+
background: rgba(240, 247, 255, 0.9);
124128
width: 100%;
125-
height: 350px;
129+
height: 100%;
126130
position: absolute;
127131
top: 60px;
128132
left: -100%;
@@ -131,7 +135,7 @@
131135
}
132136

133137
.navOptions.active {
134-
background: #fff;
138+
border-bottom: 2px solid rgb(0, 122, 124);
135139
transition: all 0.5s ease;
136140
padding-left: 0px;
137141
margin: 0;
@@ -146,6 +150,7 @@
146150
justify-content: center;
147151
height: 10vw;
148152
padding: 30px 0px;
153+
margin: 30px 10px;
149154
}
150155

151156
.optionDisplay {

0 commit comments

Comments
 (0)