Skip to content

Instantly share code, notes, and snippets.

@ryderr
Created November 30, 2012 21:36
Show Gist options
  • Select an option

  • Save ryderr/4178833 to your computer and use it in GitHub Desktop.

Select an option

Save ryderr/4178833 to your computer and use it in GitHub Desktop.

Revisions

  1. ryderr created this gist Nov 30, 2012.
    8 changes: 8 additions & 0 deletions desktoponly.css
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,8 @@
    @media handheld, only screen and (max-width: 480px), only screen and (max-device-width: 480px) {
    body{
    display:none;
    }
    html:after{
    content: "This site is only available on desktop computers";
    }
    }