Skip to content

Commit 4c40462

Browse files
authored
add responsive version
1 parent 5322002 commit 4c40462

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

063-DOM array methods/style.css

+24
Original file line numberDiff line numberDiff line change
@@ -81,3 +81,27 @@ h3 {
8181
font-size: 20px;
8282
margin-bottom: 10px;
8383
}
84+
85+
@media (max-width: 768px) {
86+
body {
87+
justify-content: flex-start;
88+
}
89+
.container {
90+
padding: 0;
91+
flex-direction: column;
92+
justify-content: center;
93+
width: 96%;
94+
max-width: 96%;
95+
}
96+
aside {
97+
padding: 0;
98+
margin: auto;
99+
display: flex;
100+
justify-content: space-evenly;
101+
width: 100%;
102+
border-right: none;
103+
}
104+
main {
105+
padding: 0;
106+
}
107+
}

0 commit comments

Comments
 (0)