Template:Transform/doc
Jump to navigation
Jump to search
This is a documentation subpage for Template:Transform. It contains usage information, categories and other content that is not part of the original template page. |
This template is a shortcut for transforming an element. It generates the CSS for various browsers. Supported browsers are the current versions of Opera, Firefox, Safari, Chrome and Internet Explorer.
Usage
Place this template inside a style attribute of any block-level element. It accepts one open parameter, which may consist of one or more of the following commands, separated by a space:
translate(x,y[,z])
– Move the offset of the elementscale(x,y[,z])
– Scale the elementrotate(Xdeg)
– Rotate the element by X degrees
(More to come)