Reputation: 12493
I want to give user the option to rotate the content of my webpage, including images, text and divs. Is this possible?
PS:
I want to rotate the entire webpage. Not just a container div.
Upvotes: 6
Views: 9934
Reputation: 3384
If you're using jQuery you can use the jRumble plugin to achieve this
The relevant website can be found here
Upvotes: 1
Reputation: 50019
You could use CSS3
-webkit-transform: rotate(90deg);
-moz-transform: rotate(90deg);
Doesn't work on all browsers though. This example is only for firefox and chrome/safari. Opera should have it as well. Maybe even IE
EDIT
And just in case anyone thinks "oh he's just rotating a DIV!", check this
http://jsbin.com/utupu5/ (full page)
Upvotes: 6
Reputation: 14122
the only way I have heard of to make this achieved is embeding your HTML in a SVG foreign content element.
Upvotes: 1