Skip to content

Instantly share code, notes, and snippets.

@filiperocha
Forked from visnup/lock.css
Created June 8, 2017 09:47
Show Gist options
  • Select an option

  • Save filiperocha/c8ac1b6939d9a57a32c7096f8d3e5dbe to your computer and use it in GitHub Desktop.

Select an option

Save filiperocha/c8ac1b6939d9a57a32c7096f8d3e5dbe to your computer and use it in GitHub Desktop.

Revisions

  1. Visnu Pitiyanuvath revised this gist May 5, 2012. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion lock.css
    Original file line number Diff line number Diff line change
    @@ -1,4 +1,4 @@
    /* if portrait mode is detected, rotate the entire site -90 degrees to hint rotating the device */
    /* if portrait mode is detected, rotate the entire site -90 degrees to hint rotating to landscape */
    @media (orientation: portrait) {
    body {
    -webkit-transform: rotate(-90deg);
  2. Visnu Pitiyanuvath created this gist May 5, 2012.
    10 changes: 10 additions & 0 deletions lock.css
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,10 @@
    /* if portrait mode is detected, rotate the entire site -90 degrees to hint rotating the device */
    @media (orientation: portrait) {
    body {
    -webkit-transform: rotate(-90deg);
    -moz-transform: rotate(-90deg);
    -o-transform: rotate(-90deg);
    -ms-transform: rotate(-90deg);
    transform: rotate(-90deg);
    }
    }