css中如何插入js获取的数值?

css中如何插入js获取的数值?

第一部:建议给你自己需要设置js样式的元素加上一个id 例如setCss第二部:var elem = document.getElementById("setCss")第三部:设置elem.style.height
html-css150