Selvin
Selvin

Reputation: 12493

Rotate a webpage clockwise or anticlockwise

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

Answers (3)

Nikhil
Nikhil

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

JohnP
JohnP

Reputation: 50019

You could use CSS3

-webkit-transform: rotate(90deg);
-moz-transform: rotate(90deg);   

http://jsfiddle.net/KdNNy/1/

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

BiAiB
BiAiB

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

Related Questions