Template:Transform-rotate: Difference between revisions

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search
Content deleted Content added
m fix
m updating example
Line 11: Line 11:
Rotate any image:
Rotate any image:
<!-- filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=2); -->
<!-- filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=2); -->
<span style="-webkit-transform: rotate(180deg); -moz-transform: rotate(180deg); transform: rotate(180deg); ">[[File:Commons-logo.svg|89px]]</span>
<span style="-webkit-transform:rotate(180deg); -moz-transform:rotate(180deg); transform:rotate(180deg); -o-transform:rotate(180deg);; ">[[File:Commons-logo.svg|89px]]</span>


*input: angle in degrees
*input: angle in degrees

Revision as of 19:08, 9 October 2011

-webkit-transform:rotate(0deg); -moz-transform:rotate(0deg); transform:rotate(0deg); -o-transform:rotate(0deg); ;


Rotate any image:

  • input: angle in degrees
  • output: style-string
  • CSS 3.0