@media only screen and (min-device-width: 768px) and (max-device-width: 1024px)
@media (max-device-width: 1024px) and (orientation: landscape)
/* iPad [portrait + landscape] */@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) {}
@media handheld and (min-device-width: 768px) and (max-device-width: 1024px) {}
try to use viewport work in portrait and lanscape
<meta name="viewport" content="user-scalable=no, initial-scale=0.77, minimum-scale=0.77, maximum-scale=0.77, width=device-width">
Is it possible to target just iPad? and both targets a lot more than the iPad, for instance a bunch of laptops. I want to target the iPad specifically. Is that possible with media queries?
Something about using 'only screen', but I'm no expert.
I'm not sure why laptops are picking up that first one though. I was under the impression that min-DEVICE-width shouldn't do that.
TheDoc: Device can be any type of device with I guess.
try to use viewport work in portrait and lanscape