Reputation: 267
/* 1024 and above desktop ------ */
@media only screen
and (min-width: 1008px){
/* Styles */
.outerBox{
width: 796px;
}
@media only screen
and (min-width: 600px)
and (max-width: 640px){
/* Styles */
.outerBox{
width: 600px;
}
}
The queries above doesn't seem to work properly when applied together..as only the first one works when both applied and if I remove the first one the second one works fine..
Upvotes: 0
Views: 106
Reputation: 7771
Your first rule is missing the closing }
:
/* 1024 and above desktop ------ */
@media only screen
and (min-width: 1008px){
/* Styles */
.outerBox{
width: 796px;
}
}
Upvotes: 4