... 的 class 方法來取代,當遇到修改style的時候就可以很方便的改CSS就好。 # Bad document.getElementById("dom").style.color = '#f00';# Good
確定! 回上一頁