Jump to content

Template:Transform/doc

Unchecked
From pool

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[edit | edit source]

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:

  1. translate(x,y[,z]) โ€“ Move the offset of the element
  2. scale(x,y[,z]) โ€“ Scale the element
  3. rotate(Xdeg) โ€“ Rotate the element by X degrees

(More to come)


This content is in the Template Namespace. Used for page-templates that can be re-used across the wiki.