Monday, January 28, 2013

How to target ipad with a CSS media query?

I am using XCode's ios simulator on Mac OSX to design HTML that renders differently according to the device it is on. I have successfully created style for iPhone (portrait and landscape) and iPad (landscape).

I am unable to get working code for a media query to identify iPad portrait.

I'm getting pretty desperate now, and would be most grateful for help.
>>> How to target ipad with a CSS media query?