Last active
August 29, 2015 14:02
-
-
Save alejandronanez/a0b2863562a00f4fe6fe to your computer and use it in GitHub Desktop.
Revisions
-
alejandronanez revised this gist
Jun 11, 2014 . 2 changed files with 0 additions and 0 deletions.There are no files selected for viewing
File renamed without changes.File renamed without changes. -
alejandronanez created this gist
Jun 11, 2014 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,34 @@ #ipad-landscape { display: none; } #ipad-portrait { display: none; } #ipad-both { display: none; } /* iPads (portrait) ----------- */ @media screen and (min-width : 768px) and (max-width : 1024px) and (orientation : portrait) { #ipad-portrait { display: block; } } /* iPads (landscape) ----------- */ @media screen and (min-width : 768px) and (max-width : 1024px) and (orientation : landscape) { #ipad-landscape { display: block; } } /* iPads (portrait and landscape) ----------- */ @media screen and (min-width : 768px) and (max-width : 1024px) { #ipad-both { display: block; } } This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,20 @@ <!DOCTYPE html> <html> <head> <meta name="description" content="[add your bin description]" /> <meta charset=utf-8 /> <title>Welcome to JS Bin</title> <meta name="viewport" content="width=device-width"> </head> <body> <p id="ipad-landscape">Only iPad Landscape</p> <p id="ipad-portrait">Only iPad Portrait</p> <p id="ipad-both">Both iPad - Portrait / Landscape</p> </body> </html>