Skip to content

Commit cdee258

Browse files
committed
media query test
1 parent 028dfef commit cdee258

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

starter/08-Omnifood-Responsive/css/style.css

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,19 @@
6565
padding: 4.8rem 0 9.6rem 0;
6666
}
6767

68+
@media (max-width: 1200px) {
69+
.section-hero {
70+
background-color: orangered;
71+
}
72+
}
73+
74+
@media (max-width: 600px) {
75+
.section-hero {
76+
border: 20px dashed blue;
77+
background-color: greenyellow;
78+
}
79+
}
80+
6881
.hero {
6982
max-width: 130rem;
7083
margin: 0 auto;

0 commit comments

Comments
 (0)