According to Jason Grigsby, WebKit on iPad honors CSS media query declarations based on orientation. As such, you can deliver different content based on portrait and landscape viewing by simply adding
(orientation:portrait)
or(orientation:landscape)
to yourlink
element. (See also Jason’s original post.)I <3 CSS.
by