模板:Transform:修订间差异

来自康健生活
Kangkk​(留言 | 贡献)
创建页面,内容为“<noinclude>{{Documentation}}</noinclude> <includeonly>-ms-transform: {{{1}}}; -webkit-transform: {{{1}}}; transform: {{{1}}};</includeonly>”
 
Kangkk​(留言 | 贡献)
无编辑摘要
第1行: 第1行:
<noinclude>{{Documentation}}</noinclude>
<noinclude>{{Documentation}}</noinclude><includeonly>-ms-transform: {{{1}}}; -webkit-transform: {{{1}}}; transform: {{{1}}};</includeonly>
<includeonly>-ms-transform: {{{1}}}; -webkit-transform: {{{1}}}; transform: {{{1}}};</includeonly>

2020年3月2日 (一) 17:48的版本

模板文档[查看] [编辑] [历史] [刷新]

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)