模板:Transform-rotate/doc:修订间差异

来自康健生活
Kangkk​(留言 | 贡献)
无编辑摘要
Kangkk​(留言 | 贡献)
无编辑摘要
第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 {{para|display}} allows you to change the CSS display property. It defaults to <code>display: inline-block;</code>
*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]].


''{{A note}} 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]].''
'' 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]].''