模板:Transform-rotate/doc:修订间差异
来自康健生活
无编辑摘要 |
无编辑摘要 |
||
| 第2行: | 第2行: | ||
*First unnamed parameter <code>{{{1}}}</code> for rotation angle (in degree). Positive values rotate right, negative values rotate left. | *First unnamed parameter <code>{{{1}}}</code> for rotation angle (in degree). Positive values rotate right, negative values rotate left. | ||
*The named parameter | *The named parameter <nowiki>|display</nowiki> allows you to change the CSS display property. It defaults to <code>display: inline-block;</code> | ||
When using this template to create the rotating effect, editors should consider carefully about the [[WP:accessibility|accessibility]]. | When using this template to create the rotating effect, editors should consider carefully about the [[WP:accessibility|accessibility]]. | ||
'' | '' This template does not support IE8 or older. IE8 requires cumbersome calculating of matrices. You may implement it into this template if you know how to translate the formula into [[Wikipedia:Lua|Lua]].'' | ||