我想实施
-moz-transition: text-shadow 0.25s ease-in-out,font-size 0.25s ease-in-out;
Run Code Online (Sandbox Code Playgroud)
通过JavaScript的属性.那是什么语法?
Flo*_*ern 14
在原始JavaScript中它是:
document.getElementById("yourElem").style.MozTransition = "text-shadow 0.25s ease-in-out,font-size 0.25s ease-in-out";
Run Code Online (Sandbox Code Playgroud)
注意:前面的连字符会导致JavaScript中出现大写字母:-moz=>Moz
| 归档时间: |
|
| 查看次数: |
6564 次 |
| 最近记录: |