• Home
  • Random
  • Recent changes
  • Special pages
  • Settings
  • About MOASSpedia
  • Disclaimers
MOASSpedia
  • 216.73.216.154
  • Talk
  • Watchlist
  • Contributions
  • Log in

Template:Transform

Template Discussion
  • Language
  • Watch
  • History
  • Edit
    • Page information
    • Permanent link
    • What links here
Template documentation[view] [edit] [history] [purge]

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:

  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)

The above documentation is transcluded from Template:Transform/doc. (edit | history)
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.
Add categories to the /doc subpage. Subpages of this template.
Retrieved from "https://moasspedia.org/w/index.php?title=Template:Transform&oldid=33936"
Category:
  • Cross-browser compatibility templates
Last edited on 27 August 2021, at 12:59

MOASSpedia

Content is available under Creative Commons Attribution-ShareAlike unless otherwise noted.
  • This page was last edited on 27 August 2021, at 12:59.
  • Content is available under Creative Commons Attribution-ShareAlike unless otherwise noted.
  • Privacy policy
  • About MOASSpedia
  • Disclaimers
  • Desktop