Template:Rotate: Difference between revisions
From The Urban Dead Wiki
Jump to navigationJump to search
(lets see if it works.) |
(typo.) |
||
Line 8: | Line 8: | ||
Here is an example of the code and what it produces: | Here is an example of the code and what it produces: | ||
<pre><span style="{{ | <pre><span style="{{Rotate|180deg|0deg}}">{{User:Mazu/sig}}</span></pre> | ||
<span style="{{ | <span style="{{Rotate|180deg|0deg}}">{{User:Mazu/sig}}</span> | ||
[[Category:Utility Templates]] | [[Category:Utility Templates]] |
Revision as of 18:09, 4 August 2011
-moz-transform: rotate(0deg) skew(0deg); -webkit-transform: rotate(0deg) skew(0deg); -o-transform: rotate(0deg) skew(0deg); -ms-transform: rotate(0deg) skew(0deg); transform: rotate(0deg) skew(0deg);
Usage
This must be placed inside <span> or <div> tags to work. It only supplies the transformation code and the ending semi-colon.
The first variable is the degrees of rotation and the second variable is the degrees skew.
Here is an example of the code and what it produces:
<span style="{{Rotate|180deg|0deg}}">{{User:Mazu/sig}}</span>