Skip to content

Instantly share code, notes, and snippets.

@miebach
Last active November 14, 2023 18:28
Show Gist options
  • Save miebach/4573273 to your computer and use it in GitHub Desktop.
Save miebach/4573273 to your computer and use it in GitHub Desktop.
Rotate a web page 90 degree counter clockwise:

Rotate a web page 90 degree counter clockwise

Chrome

javascript: document.body.setAttribute( "style", "-webkit-transform: rotate(-90deg);");

paste into JS console: Ctrl-Shift-C -> "Console" from top menu

Firefox

javascript: document.body.setAttribute( "style", "-moz-transform: rotate(-90deg);");

Opera

javascript: document.body.setAttribute( "style", "-o-transform: rotate(-90deg);");

from: http://malaysia.answers.yahoo.com/question/index?qid=20100626224638AA58pQQ

more info: http://www.the-art-of-web.com/css/css-animation

@NathanKassab
Copy link

thank you for posting this, it is very helpful

@MansurArslan
Copy link

Thanks man, this helped me a lot.

@strider-ape
Copy link

Thanks for this quick workaround!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment