@media ipad mini , iphone5s

/* iPad Mini in landscape แนวนอน */
@media only screen
and (min-device-width : 768px)
and (max-device-width : 1024px)
and (orientation : landscape)
{
    ...
}

/* iPad Mini in portrait แนวตั้ง */
@media only screen
and (min-device-width : 768px)
and (max-device-width : 1024px)
and (orientation : portrait)
{
    ...
}

/* iphone 5,5c,5s landscape */
@media only screen
and (min-device-width : 320px)
and (max-device-width : 568px)
and (orientation : landscape) {
    ...
}

Related posts:

This entry was posted in bootstap, knowledge. Bookmark the permalink.