Jump to content

Rotating Background Images


Daybreak

Recommended Posts

I am looking for some help finding how to cleanly rotate (using a fade) large background images in CSS. We're not using flash, which I know would be easier.

 

Does anyone know what would work (js maybe?)? I am designing an architecture site that could use this feature well.

 

Thanks.

 

Steven

Link to comment
Share on other sites

Here is a start. Something I'm going to work on in the future. This will rotate anything in all.

 



{ visibility: inherit; }
<br />div {<br />float:left;<br />margin:60px;<br />padding:30px;<br />background:red;<br />filter: progid:DXImageTransform.Microsoft.Matrix(M11=0.86602540, M12=-0.50000000, M21=0.50000000, M22=0.86602540);<br />-moz-transform:rotate(30deg);<br />-webkit-transform:rotate(30deg);<br />-o-transform:rotate(30deg);<br />}<br />/* http://www.boogdesign.com/examples/transforms/matrix-calculator.html */<br />




   Some Text


   Some Text


   Some Text





Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...