Rilevare l’orientamento di iPad

CSS — Tag: — admin @ 15:45

ipadRilevare l’orientamento della finestra di un iPad è facile, sono solo due righe di codice senza la necessità di JavaScript:

<link rel=”stylesheet” media=”all and (orientation:portrait)” href=”portrait.css”>
<link rel=”stylesheet” media=”all and (orientation:landscape)” href=”landscape.css”>


0 Comments »

Non c’è ancora nessun commento.

RSS feed dei commenti a questo articolo. TrackBack URI

Lascia un commento

This work is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported License.
(c) 2010 Appunti di storie di web | powered by WordPress with Barecity