Skip to content

Commit 942b15b

Browse files
committed
footer responsiveness done
1 parent 67bba7a commit 942b15b

1 file changed

Lines changed: 22 additions & 0 deletions

File tree

src/components/footer.js

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,33 @@ const FooterArea = styled.div`
1616
justify-content: space-between;
1717
color: #fff;
1818
text-align: left;
19+
@media (max-width: 991px) {
20+
flex-wrap: wrap;
21+
}
1922
> div {
2023
flex: 1;
24+
@media (max-width: 480px) {
25+
flex: 1 1 100%;
26+
margin: 0;
27+
margin-bottom: 15px;
28+
text-align: center;
29+
ul {
30+
list-style: none;
31+
margin-left: 0 !important;
32+
}
33+
}
2134
margin: 0 15px;
35+
:nth-of-type(2n + 2) {
36+
@media (max-width: 991px) {
37+
margin-left: 0;
38+
}
39+
}
2240
:first-of-type {
2341
margin-left: 0;
42+
@media (max-width: 991px) {
43+
flex: 1 1 100%;
44+
margin-bottom: 15px;
45+
}
2446
}
2547
:last-of-type {
2648
margin-right: 0;

0 commit comments

Comments
 (0)