I have problem with meda queries. I have folow css code:
@media only screen
and (min-device-width : 0px)
and (max-device-width : 480px) {
#header {
background-color: pink;
}
}
@media only screen
and (min-device-width : 481px)
and (max-device-width : 768px) {
#header {
background-color: blue;
}
}
@media only screen
and (min-device-width : 769px)
and (max-device-width : 960px) {
#header {
background-color: green;
}
}
@media only screen
and (min-device-width : 960px){
#header {
background-color: yellow;
}
}
and two smart phones
first: Samsung Galaxy SI i9000 - 480 x 800 - show COLOR GREEN.... second: iPhone 5 - 640 x 1136 - show COLOR PINK
I don't understand.
Thank you Tomas