amjs February 2016

How to code the styles for the portrait only in the kindle fire device?

How to code the styles for the portrait only in the kindle fire device? please advise.

Answers


Sahil February 2016

@media only screen and (max-width: 800px) and (orientation : portrait) and (min-resolution: 1.5dppx),(-webkit-min-device-pixel-ratio: 1.5){
    /* PORTRAIT:
    Kindle Fire HD 7
    */
}

Refer this for more device related media queries.

Post Status

Asked in February 2016
Viewed 2,225 times
Voted 10
Answered 1 times

Search




Leave an answer