From Stm32World Wiki
< Template:Transform
Revision as of 03:44, 17 July 2021 by Lth (talk | contribs) (Created page with "{{Documentation subpage}} <!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see Wikipedia:Wikidata) --> This template is...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Template:Mbox 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.


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)