User:物灵/时钟:修订间差异
< User:物灵
小无编辑摘要 |
无编辑摘要 |
||
第1行: | 第1行: | ||
<templatestyles src="用户:物灵/时钟样式.css" /> | <templatestyles src="用户:物灵/时钟样式.css" /> | ||
<div id="spin-wrapper"> | <div id="spin-wrapper"> | ||
<div id="spin-second-wrapper" style="transform: rotate({{#expr:6*{{#time: xNU}}}}deg)""><div id="spin-second"></div></div> | <div id="spin-second-wrapper" style="transform: rotate({{#expr:(6*{{#time: xNU}}) mod 360}}deg)""><div id="spin-second"></div></div> | ||
<div id="spin-minute-wrapper" style="transform: rotate({{#expr:({{#time: xNU}}/10) round 0}}deg)"><div id="spin-minute"></div></div> | <div id="spin-minute-wrapper" style="transform: rotate({{#expr:(({{#time: xNU}}/10) round 0) mod 360}}deg)"><div id="spin-minute"></div></div> | ||
<div id="spin-hour-wrapper" style="transform: rotate({{#expr:({{#time: xNU}}/120) round 0}}deg)><div id="spin-hour"></div></div> | <div id="spin-hour-wrapper" style="transform: rotate(({{#expr:({{#time: xNU}}/120) round 0) mod 360}}deg)><div id="spin-hour"></div></div> | ||
</div> | </div> |
2022年6月10日 (五) 12:37的版本
<div id="spin-hour-wrapper" style="transform: rotate((表达式错误:预期外的反括号。deg)>