I am trying to target devices respectively, but the min and max width intertwine with each other. Here is my code:
/* iPhone 4 (portrait and landscape) ----------- */
@media only screen and (min-width : 320px) and (max-width : 480px) {
/* MOBILE MENU */
#menuContainer .cart p, #menuContainer .menu p {
font-size: 12px
}
/* Home Slider Text */
#sliderContainer .slider p {
font-size: 18px;
}
#Footer .top .left p:first-child {
font-size: 17px;
}
#Footer .row p {
font-size: 12px;
}
}
/* Galaxy S3 (portrait and landscape) ----------- */
@media screen and (min-width : 360px) and (max-width : 640px) {
/* MOBILE MENU */
#menuContainer .cart p, #menuContainer .menu p {
font-size: 20.4px;
}
/* Home Slider Text */
#sliderContainer .slider p {
font-size: 29px;
}
#Footer .top .left p:first-child {
font-size: 32px;
}
#Footer .row p {
font-size: 20.4px;
}
}
So iPhone at 320px looks good, but at 480px it is showing font sizes of the Galaxy media query. I would like each specific media query to target its respective device. Is this possible? Let me know if anything is unclear.