lundi 20 avril 2015

specific device media queries are not working

I am writing media queries to my slider. for that sider width is 100% and height should be given manually. Thats why I have written @media queries for every width like

@media only screen and (width : 320px) and (height: 568px) {
.demo .zoomer_wrapper { height: 450px; }
}
@media only screen and (width : 568px) and (height: 320px) {
.demo .zoomer_wrapper { height: 230px; }
}

I am testing the resolutions in http://ift.tt/12d3m2r and firefox. Here every thing is working fine for every set of width and height. But when I checked in a particular device those are not working. Pls help me with this.

Aucun commentaire:

Enregistrer un commentaire