Asked by burnedfaceless
at 2024-11-30 15:40:58
Point:500 Replies:3 POST_ID:828851USER_ID:11745
Topic:
Cascading Style Sheets (CSS);;
I am using the following media query which targets the iPad. How do I alter this to encompass all tablets. The parameters are for iPad, obviously.
@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation:portrait) {
body {
-webkit-transform: rotate(90deg);
width: 100%;
height: 100%;
overflow: hidden;
position: absolute;
top: 0;
left: 0;
}
}
}
@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation:portrait) {
body {
-webkit-transform: rotate(90deg);
width: 100%;
height: 100%;
overflow: hidden;
position: absolute;
top: 0;
left: 0;
}
}
}