How can i manage two differnt media queries
/* Landscape */
@media screen
and (device-width: 320px)
and (device-height: 640px)
and (orientation: landscape) {
}
@media only screen
and (min-device-width: 414px)
and (max-device-width: 736px)
and (orientation: landscape) {
img{max-width: 8%;}
.jumbotron{padding-top: 6px; padding-bottom: 2px;}
.form-group{margin-bottom: 0;}
.form-control{height: 28px; padding: 3px 6px;}
.checkbox, .radio{margin-bottom: 1px; margin-top: 1px}
label{margin-bottom: 0;}
.btn{padding: 6px 10px; font-size: 12px;}
body{font-size: 14px !important; line-height: 1.3;}
.jumbotron{margin-bottom: 12px;}
}
I have one html for these two media query.When I try to add style value for 320x640 screen resolution . It is not working . But when I change 414x736 values it also changes 320x640 screen resolution style . How can I change 320x640 screen resolution style without change other 414x736 screen resolution style?