Home › Forums › CSS › media query css rule for a particular width size › Reply To: media query css rule for a particular width size
June 2, 2015 at 6:35 am
#203089
theceoforlife
Participant
@media screen and (min-device-width: 50px) and (max-device-width: 319px) and (orientation : portrait) {
body {
background: black;
}
}
@media screen and (min-device-width: 320px) and (max-device-width: 359px) and (orientation : portrait) {
body {
background: green;
}
}
this is the code Thank you Mr Paulie_D